tweak: separate ModelsDev.Model and Config model schemas (#21561)

This commit is contained in:
Aiden Cline
2026-04-08 15:55:14 -05:00
committed by GitHub
parent 00cb8839ae
commit 4961d72c0f
5 changed files with 169 additions and 116 deletions
+2 -2
View File
@@ -937,8 +937,8 @@ export namespace Provider {
npm: model.provider?.npm ?? provider.npm ?? "@ai-sdk/openai-compatible",
},
status: model.status ?? "active",
headers: model.headers ?? {},
options: model.options ?? {},
headers: {},
options: {},
cost: {
input: model.cost?.input ?? 0,
output: model.cost?.output ?? 0,