feat: add model switching functionality for AI agent (#11839)

This commit is contained in:
CityFun
2026-02-09 09:51:03 +00:00
committed by GitHub
parent 8a7be481b0
commit 46b8d3bd80
23 changed files with 443 additions and 17 deletions
+7 -1
View File
@@ -272,6 +272,7 @@ export namespace AI {
status: string;
message: string;
appInstallId: number;
accountId: number;
appVersion: string;
containerName: string;
webUIPort: number;
@@ -282,13 +283,18 @@ export namespace AI {
createdAt: string;
}
export interface AgentDeleteReq {
id: number;
taskID: string;
forceDelete: boolean;
}
export interface AgentModelConfigUpdateReq {
agentId: number;
accountId: number;
model: string;
}
export interface ProviderModelInfo {
id: string;
name: string;