mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
feat(x): thread the models.dev reasoning flag to the renderer
Widens the models.dev schema to keep the per-model `reasoning` boolean and carries it through normalizeModels → ProviderSummary → models:list, so the composer can gate the reasoning-effort control on actual model capability. Gateway model lists (bare "vendor/model" ids from the server) are annotated from the models.dev cache in one batched, cache-only read; unknown models keep the flag absent, which the UI treats as "hide the control". Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
125d39ee0b
commit
1ffe29db9d
3 changed files with 50 additions and 2 deletions
|
|
@ -586,6 +586,9 @@ const ipcSchemas = {
|
|||
id: z.string(),
|
||||
name: z.string().optional(),
|
||||
release_date: z.string().optional(),
|
||||
// models.dev "supports reasoning/extended thinking" flag; absent =
|
||||
// unknown. Gates the composer's reasoning-effort control.
|
||||
reasoning: z.boolean().optional(),
|
||||
})),
|
||||
})),
|
||||
lastUpdated: z.string().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue