fix(app): use current default model

This commit is contained in:
Brendan Allan 2026-07-24 11:18:50 +08:00
commit 8bc53f67de
No known key found for this signature in database
GPG key ID: 41E835AEA046A32E
8 changed files with 46 additions and 9 deletions

View file

@ -5,6 +5,10 @@ import { PreloadMultiFileDiffResult } from "@pierre/diffs/ssr"
export type NormalizedProviderListResponse = {
all: Map<string, Provider>
defaultModel?: {
providerID: string
modelID: string
} | null
default: {
[key: string]: string
}