diff --git a/src/hooks/useSettings.ts b/src/hooks/useSettings.ts index 72fb474..5b76f28 100644 --- a/src/hooks/useSettings.ts +++ b/src/hooks/useSettings.ts @@ -35,6 +35,8 @@ export interface Model { name: string; displayName: string; description: string | null; + // 模型类型:claude | codex + modelType: 'claude' | 'codex'; supportsTools: boolean; supportsThinking: boolean; supportsVision: boolean; diff --git a/src/types/index.ts b/src/types/index.ts index 8bd9b18..4c08214 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -2,6 +2,7 @@ export interface Model { id: string; name: string; + displayName: string; tag: string; }