You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better defaults for openai/anthropic/google/bedrock providers
Enable thinking and interleaved thinking by default with a medium/dynamic thinking budget
For the bedrock provider, the defaults only apply to anthropic models
Signed-off-by: Christopher Petito <chrisjpetito@gmail.com>
- **Anthropic**: set an integer token budget. Range is 1024–32768; must be strictly less than `max_tokens`. Default: `8192` with `interleaved_thinking: true`
thinking_budget: -1 # Dynamic thinking (model decides) - this is the default
333
335
334
336
gemini-fixed:
335
337
provider: google
@@ -342,29 +344,101 @@ agents:
342
344
instruction: you are a helpful assistant
343
345
```
344
346
345
-
#### Interleaved Thinking (Anthropic)
347
+
Examples (Google Gemini 3 - level-based):
346
348
347
-
Anthropic's interleaved thinking feature uses the Beta Messages API to provide tool calling during model reasoning. You can control this behavior using the `interleaved_thinking` provider option:
# thinking_budget defaults to 8192 and interleaved_thinking defaults to true for Claude models
387
+
provider_opts:
388
+
region: us-east-1
389
+
390
+
bedrock-claude-custom:
391
+
provider: amazon-bedrock
392
+
model: anthropic.claude-sonnet-4-20250514-v1:0
393
+
thinking_budget: 16384 # Override default
394
+
provider_opts:
395
+
region: eu-west-1
396
+
interleaved_thinking: true
397
+
398
+
agents:
399
+
root:
400
+
model: bedrock-claude
401
+
instruction: you are a helpful assistant
402
+
```
403
+
404
+
#### Interleaved Thinking (Anthropic and Bedrock Claude)
405
+
406
+
Anthropic's interleaved thinking feature uses the Beta Messages API to provide tool calling during model reasoning. This is now enabled by default for both `anthropic` and `amazon-bedrock` (Claude models) providers. You can control this behavior using the `interleaved_thinking` provider option:
348
407
349
408
```yaml
350
409
models:
351
410
claude:
352
411
provider: anthropic
353
412
model: claude-sonnet-4-5-20250929
354
-
thinking_budget: 8192 # Optional: defaults to 16384 when interleaved thinking is enabled
0 commit comments