fix(provider): derive variants from reasoning options (#36543)

This commit is contained in:
Aiden Cline
2026-07-12 16:12:07 -05:00
committed by GitHub
parent 4dcfd9182c
commit 6f8e1dda15
4 changed files with 116 additions and 2 deletions
+3
View File
@@ -51,6 +51,9 @@ export const Model = Schema.Struct({
release_date: Schema.String,
attachment: Schema.Boolean,
reasoning: Schema.Boolean,
// models.dev is external metadata and reasoning controls are expected to evolve.
// Provider normalization extracts the subset understood by this client.
reasoning_options: Schema.optional(Schema.Unknown),
temperature: Schema.Boolean,
tool_call: Schema.Boolean,
interleaved: Schema.optional(