Commit 22807d0
committed
feat: Enhance language model provider information and pricing structures
- Added new interfaces `LanguageModelProviderInformation` and `LanguageModelPricing` to define detailed attributes and pricing tiers for language models.
- Updated existing model configurations to utilize the new response type field.
- Improved model aliasing and added support for latest tags in model identifiers.
- Introduced utility functions `normalizeModelIdentifier` and `areModelsSame` for better model comparison and identification.
- Refactored model pulling logic to use the new model comparison function.1 parent 8f01fec commit 22807d0
9 files changed
Lines changed: 453 additions & 1751 deletions
File tree
- .vscode
- docs
- public/schemas
- src/components
- packages
- core/src
- runtime/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| 245 | + | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| |||
0 commit comments