feat(类型): 更新模型类型定义

- Model 接口新增 displayName 字段
- 添加 modelType 类型(claude | codex)用于区分模型类型
This commit is contained in:
gaoziman 2025-12-20 01:04:14 +08:00
parent c978504f4a
commit 55dcb618af
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -2,6 +2,7 @@
export interface Model {
id: string;
name: string;
displayName: string;
tag: string;
}