add api model

This commit is contained in:
xie7654
2025-07-11 10:24:38 +08:00
parent c6e41c92ee
commit bd9f9c39e3
12 changed files with 498 additions and 5 deletions

View File

@@ -0,0 +1,28 @@
import { BaseModel } from '#/models/base';
export namespace AiAIModelApi {
export interface AiAIModel {
id: number;
remark: string;
creator: string;
modifier: string;
update_time: string;
create_time: string;
is_deleted: boolean;
name: string;
sort: number;
status: number;
key: number;
platform: string;
model: string;
temperature: any;
max_tokens: number;
max_contexts: number;
}
}
export class AiAIModelModel extends BaseModel<AiAIModelApi.AiAIModel> {
constructor() {
super('/ai/ai_model/');
}
}