fix(core): tolerate missing models.dev temperature

This commit is contained in:
Dax Raad
2026-07-03 14:46:54 -04:00
parent bf3ae45439
commit 34a08cbdb8
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ export const Model = Schema.Struct({
attachment: Schema.Boolean,
reasoning: Schema.Boolean,
reasoning_options: Schema.optional(Schema.Array(ReasoningOption)),
temperature: Schema.Boolean,
temperature: Schema.optional(Schema.Boolean),
tool_call: Schema.Boolean,
interleaved: Schema.optional(
Schema.Union([