Commit f504302
authored
fix(ai-openrouter): restore OpenRouterChatModelToolCapabilitiesByName (#582)
The mapped type was hand-added in #466 but never wired into the
OpenRouter model generator. PR #581's wholesale regeneration dropped it,
breaking the build and typecheck on main (index.ts, text.ts,
responses-text.ts all import it).
- Emit the type from scripts/convert-openrouter-models.ts so future
syncs preserve it.
- Restore the missing block in model-meta.ts (matches what the fixed
generator now produces).1 parent aa3acf1 commit f504302
3 files changed
Lines changed: 24 additions & 0 deletions
File tree
- .changeset
- packages/typescript/ai-openrouter/src
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16251 | 16251 | | |
16252 | 16252 | | |
16253 | 16253 | | |
| 16254 | + | |
| 16255 | + | |
| 16256 | + | |
| 16257 | + | |
16254 | 16258 | | |
16255 | 16259 | | |
16256 | 16260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
306 | 319 | | |
307 | 320 | | |
308 | 321 | | |
| 322 | + | |
| 323 | + | |
309 | 324 | | |
310 | 325 | | |
311 | 326 | | |
| |||
0 commit comments