Commit 9d4ed40
fix(analyzer): normalize the wire model on the Anthropic API path
Review follow-up: the API analyzer client sent its model id to the
Anthropic SDK unchanged, so an anthropic/-prefixed id (a canonical
stored id after the prefix-routing change) would reach the API as an
invalid wire model. The client now normalizes at construction with
to_anthropic_api_model_id -- the prefix is stripped and Bedrock-shaped
ids map to their dateless API id, the same normalization the CLI
analyzer path applies.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KtVx8UnLzag4idP3GDqa31 parent bd5a7c1 commit 9d4ed40
2 files changed
Lines changed: 20 additions & 0 deletions
File tree
- oddish
- src/oddish/blocks/analyzer
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
0 commit comments