feat(类型): 更新模型类型定义
- Model 接口新增 displayName 字段 - 添加 modelType 类型(claude | codex)用于区分模型类型
This commit is contained in:
parent
c978504f4a
commit
55dcb618af
@ -35,6 +35,8 @@ export interface Model {
|
|||||||
name: string;
|
name: string;
|
||||||
displayName: string;
|
displayName: string;
|
||||||
description: string | null;
|
description: string | null;
|
||||||
|
// 模型类型:claude | codex
|
||||||
|
modelType: 'claude' | 'codex';
|
||||||
supportsTools: boolean;
|
supportsTools: boolean;
|
||||||
supportsThinking: boolean;
|
supportsThinking: boolean;
|
||||||
supportsVision: boolean;
|
supportsVision: boolean;
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
export interface Model {
|
export interface Model {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
displayName: string;
|
||||||
tag: string;
|
tag: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user