Commit c9d96b7
committed
Fix EffortTokens() missing xhigh/max mappings for Bedrock thinking budget
When a user sets thinking_budget to "xhigh" or "max" on a Bedrock model,
EffortTokens() returned (0, false) causing thinking to be silently disabled.
Add mappings for both levels to 32768 tokens.
Assisted-By: docker-agent1 parent 137963a commit c9d96b7
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
811 | 815 | | |
812 | 816 | | |
813 | 817 | | |
| |||
0 commit comments