Commit 140867f
committed
feat(bedrock): add anthropic.claude-opus-4-7 to native model registry
Adds Claude Opus 4.7 to the Bedrock native model registry with:
- Full ModelInfo (maxTokens, contextWindow, pricing, cache config)
- supportsReasoningBudget: true (enables thinking budget in UI)
- cachableFields for multi-point prompt caching
- 1M context tier pricing
- Global Inference support
Without this entry, custom model usage falls back to guessModelInfoFromId()
which lacks supportsReasoningBudget and cachableFields, causing "too many
tokens" errors during parallel file injection (no cache = tokens accumulate).
Note: Pricing estimated based on claude-opus-4-6-v1. To be verified against
Bedrock console pricing page before merge.1 parent 9d022d4 commit 140867f
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
170 | 194 | | |
171 | 195 | | |
172 | 196 | | |
| |||
525 | 549 | | |
526 | 550 | | |
527 | 551 | | |
| 552 | + | |
528 | 553 | | |
529 | 554 | | |
530 | 555 | | |
| |||
535 | 560 | | |
536 | 561 | | |
537 | 562 | | |
| 563 | + | |
538 | 564 | | |
539 | 565 | | |
540 | 566 | | |
541 | 567 | | |
542 | 568 | | |
543 | 569 | | |
544 | 570 | | |
| 571 | + | |
545 | 572 | | |
546 | 573 | | |
547 | 574 | | |
| |||
0 commit comments