fix(core): tolerate missing models.dev temperature

This commit is contained in:
Dax Raad 2026-07-03 14:45:56 -04:00
commit 34a08cbdb8
2 changed files with 17 additions and 1 deletions

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([