Commit a050da0
committed
fix(ai-openrouter): generate OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODELS from the catalog
The model sync (#1158) dropped the hand-maintained set. Instead of restoring
it by hand, derive it in convert-openrouter-models.ts from each chat model's
supported_parameters (structured_outputs + tools + tool_choice), so every
sync regenerates it and nothing is curated.
Closes #11631 parent 6ac4343 commit a050da0
7 files changed
Lines changed: 337 additions & 150 deletions
File tree
- .changeset
- docs
- adapters
- packages/ai-openrouter
- src
- tests
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
131 | 128 | | |
132 | 129 | | |
133 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
887 | | - | |
| 887 | + | |
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
| |||
Lines changed: 0 additions & 121 deletions
This file was deleted.
0 commit comments