fix(provider): derive variants from reasoning metadata (#36624)

This commit is contained in:
Aiden Cline 2026-07-13 01:21:59 -05:00 committed by GitHub
commit a8062ea314
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 532 additions and 173 deletions

View file

@ -2100,20 +2100,6 @@ export type Model = {
[key: string]: string
}
release_date: string
reasoning_options?: Array<
| {
type: "effort"
values: Array<string>
}
| {
type: "toggle"
}
| {
type: "budget_tokens"
min?: number
max?: number
}
>
variants?: {
[key: string]: {
[key: string]: unknown