- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
1.7 KiB
1.7 KiB
| id | type | title | tags | importance | confidence | created | updated | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 33fa68ae-a606-4c4b-b444-356185d62722 | configuration | OpenCode agent model configuration |
|
0.7 | 0.8 | 2026-02-02T19:46:30.736258+00:00 | 2026-02-02T19:46:30.736258+00:00 |
Configured default models for OpenCode agents in ~/.config/opencode/opencode.json:
PRIMARY AGENTS:
- plan: anthropic/claude-sonnet-4-5 (for planning and analysis)
- build: opencode/minimax-m2.1-free (for development work)
SUBAGENTS:
- explore: anthropic/claude-haiku-4-5 (fast codebase exploration)
- title: anthropic/claude-haiku-4-5 (session title generation)
- general: anthropic/claude-sonnet-4-5 (general-purpose reasoning)
- compaction: anthropic/claude-sonnet-4-5 (context compaction)
- summary: anthropic/claude-sonnet-4-5 (session summarization)
KEY DECISIONS:
- Pinned to latest generation models (4.5 series) rather than using -latest tags for older models
- Haiku 4.5 for lightweight/fast tasks, Sonnet 4.5 for reasoning-heavy tasks
- No -latest variants exist for Sonnet 4.5 or Minimax M2.1, so used base versions without dates
- Configuration is global (~/.config/opencode/) and applies to all projects unless overridden
CONFIGURATION FILE STRUCTURE: { "$schema": "https://opencode.ai/config.json", "agent": { "agent-name": { "model": "provider/model-id" } } }
PRECEDENCE ORDER (for future reference):
- Remote config (.well-known/opencode)
- Global config (~/.config/opencode/opencode.json) ← THIS FILE
- Custom config (OPENCODE_CONFIG env var)
- Project config (opencode.json in project root)
- .opencode directories
- Inline config (OPENCODE_CONFIG_CONTENT env var)