fix(provider): derive reasoning variants from models.dev

This commit is contained in:
Aiden Cline 2026-07-08 19:39:15 -05:00
commit b41b10faeb
13 changed files with 2671 additions and 2202 deletions

View file

@ -2059,6 +2059,20 @@ export type Model = {
field: "reasoning" | "reasoning_content" | "reasoning_details"
}
}
reasoning_options?: Array<
| {
type: "effort"
values: Array<string>
}
| {
type: "toggle"
}
| {
type: "budget_tokens"
min?: number
max?: number
}
>
cost: {
input: number
output: number