mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-03 08:00:18 +00:00
feat: add model switching functionality for AI agent (#11839)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user