@@ -8,7 +8,7 @@ This wrapper allows you to use [OpenCode](https://opencode.ai) or any other Open
88
99- ** OpenAI-compatible API** - Drop-in replacement for OpenAI API
1010- ** Real-time streaming** - True SSE streaming with all ACP protocol update types
11- - ** Multiple models** - Claude Opus 4.5, Sonnet 4.5, Sonnet 4, Haiku 4.5, GPT-5.x
11+ - ** Multiple models** - Claude Opus 4.6, Opus 4. 5, Sonnet 4.5, Sonnet 4, Haiku 4.5, GPT-5.x
1212- ** Automatic retry** - Exponential backoff for rate limits and transient errors
1313- ** Request validation** - Validates message format and model names
1414- ** Graceful shutdown** - Clean shutdown with connection draining
@@ -87,6 +87,10 @@ Add the following to your OpenCode config file at `~/.config/opencode/opencode.j
8787 "baseURL" : " http://localhost:8765/v1"
8888 },
8989 "models" : {
90+ "claude-opus-4.6" : {
91+ "name" : " Claude Opus 4.6 (Augment)" ,
92+ "limit" : { "context" : 200000 , "output" : 32000 }
93+ },
9094 "claude-opus-4.5" : {
9195 "name" : " Claude Opus 4.5 (Augment)" ,
9296 "limit" : { "context" : 200000 , "output" : 32000 }
@@ -149,11 +153,11 @@ curl http://localhost:8765/health
149153# List models
150154curl http://localhost:8765/v1/models
151155
152- # Chat completion (default: claude-opus-4.5 )
156+ # Chat completion (default: claude-opus-4.6 )
153157curl http://localhost:8765/v1/chat/completions \
154158 -H " Content-Type: application/json" \
155159 -d ' {
156- "model": "claude-opus-4.5 ",
160+ "model": "claude-opus-4.6 ",
157161 "messages": [{"role": "user", "content": "Hello!"}]
158162 }'
159163
@@ -169,7 +173,7 @@ curl http://localhost:8765/v1/chat/completions \
169173curl http://localhost:8765/v1/chat/completions \
170174 -H " Content-Type: application/json" \
171175 -d ' {
172- "model": "claude-opus-4.5 ",
176+ "model": "claude-opus-4.6 ",
173177 "messages": [{"role": "user", "content": "Hello!"}],
174178 "stream": true
175179 }'
@@ -192,7 +196,8 @@ All models are available simultaneously. Select the model in your API request:
192196
193197| Model ID | Auggie ID | Description |
194198| ----------| -----------| -------------|
195- | ` claude-opus-4.5 ` | ` opus4.5 ` | Default, most capable (200K context, 32K output) |
199+ | ` claude-opus-4.6 ` | ` opus4.6 ` | Default, most capable (200K context, 32K output) |
200+ | ` claude-opus-4.5 ` | ` opus4.5 ` | Previous Opus generation (200K context, 32K output) |
196201| ` claude-sonnet-4.5 ` | ` sonnet4.5 ` | Balanced performance (200K context, 16K output) |
197202| ` claude-sonnet-4 ` | ` sonnet4 ` | Previous generation (200K context, 16K output) |
198203| ` claude-haiku-4.5 ` | ` haiku4.5 ` | Fastest, lightweight (200K context, 8K output) |
@@ -279,11 +284,11 @@ npm start
279284
2802851 . Ensure the wrapper server is running
2812862 . Check that ` ~/.config/opencode/opencode.json ` contains the ` augment ` provider configuration
282- 3 . Run ` /models ` in OpenCode and look for ` augment/claude-opus-4.5 ` (or other models)
287+ 3 . Run ` /models ` in OpenCode and look for ` augment/claude-opus-4.6 ` (or other models)
283288
284289### Wrong model being used
285290
286- Check the server logs. If you see "Unknown model" warnings, ensure you're using the correct model ID (e.g., ` claude-opus-4.5 ` , not ` opus4.5 ` ).
291+ Check the server logs. If you see "Unknown model" warnings, ensure you're using the correct model ID (e.g., ` claude-opus-4.6 ` , not ` opus4.6 ` ).
287292
288293## Documentation
289294
0 commit comments