feat: 设置页新增模型卡片,支持为7种能力配置默认模型
This commit is contained in:
@@ -237,8 +237,21 @@ export type ProviderType = "anthropic" | "openai" | "openai-compatible";
|
||||
|
||||
export type RuntimeMode = "development" | "production" | "test";
|
||||
|
||||
/** 模型能力到默认模型 ID 的映射,用于后台自动流程 */
|
||||
export interface DefaultModelSettings {
|
||||
/** 文本能力,覆盖 text + reasoning */
|
||||
text?: string | null;
|
||||
imageRecognition?: string | null;
|
||||
audioRecognition?: string | null;
|
||||
videoRecognition?: string | null;
|
||||
imageGeneration?: string | null;
|
||||
audioGeneration?: string | null;
|
||||
videoGeneration?: string | null;
|
||||
}
|
||||
|
||||
export interface SettingsData {
|
||||
compact?: boolean;
|
||||
defaultModels?: DefaultModelSettings;
|
||||
theme: ThemePreference;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user