summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJulian LaNeve <[email protected]>2025-11-11 14:52:45 -0800
committerGitHub <[email protected]>2025-11-11 16:52:45 -0600
commita0611d92e472c4f1b4d66056b86f28f6b58064b1 (patch)
tree59305fd9386fbb216511e670f1b0b53879255a5f
parent0b001c3e802781158a49854767840f5e7a45b32a (diff)
downloadopencode-a0611d92e472c4f1b4d66056b86f28f6b58064b1.tar.gz
opencode-a0611d92e472c4f1b4d66056b86f28f6b58064b1.zip
docs: Update config references to latest Sonnet & Haiku models (#4210)
-rw-r--r--packages/web/src/content/docs/config.mdx10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/web/src/content/docs/config.mdx b/packages/web/src/content/docs/config.mdx
index 2a259ff37..c02edd2ff 100644
--- a/packages/web/src/content/docs/config.mdx
+++ b/packages/web/src/content/docs/config.mdx
@@ -16,7 +16,7 @@ OpenCode supports both **JSON** and **JSONC** (JSON with Comments) formats.
"$schema": "https://opencode.ai/config.json",
// Theme configuration
"theme": "opencode",
- "model": "anthropic/claude-sonnet-4-20250514",
+ "model": "anthropic/claude-sonnet-4-5",
"autoupdate": true,
}
```
@@ -128,8 +128,8 @@ You can configure the providers and models you want to use in your OpenCode conf
{
"$schema": "https://opencode.ai/config.json",
"provider": {},
- "model": "anthropic/claude-sonnet-4-20250514",
- "small_model": "anthropic/claude-3-5-haiku-20241022"
+ "model": "anthropic/claude-sonnet-4-5",
+ "small_model": "anthropic/claude-haiku-4-5"
}
```
@@ -164,7 +164,7 @@ You can configure specialized agents for specific tasks through the `agent` opti
"agent": {
"code-reviewer": {
"description": "Reviews code for best practices and potential issues",
- "model": "anthropic/claude-sonnet-4-20250514",
+ "model": "anthropic/claude-sonnet-4-5",
"prompt": "You are a code reviewer. Focus on security, performance, and maintainability.",
"tools": {
// Disable file modification tools for review-only agent
@@ -213,7 +213,7 @@ You can configure custom commands for repetitive tasks through the `command` opt
"template": "Run the full test suite with coverage report and show any failures.\nFocus on the failing tests and suggest fixes.",
"description": "Run tests with coverage",
"agent": "build",
- "model": "anthropic/claude-3-5-sonnet-20241022",
+ "model": "anthropic/claude-haiku-4-5",
},
"component": {
"template": "Create a new React component named $ARGUMENTS with TypeScript support.\nInclude proper typing and basic structure.",