Refactor AIAgent runtime handling and remove unused fields

This commit is contained in:
mlogclub
2026-06-23 08:37:52 +08:00
parent e4cab3e12d
commit 560843686b
13 changed files with 65 additions and 76 deletions
@@ -836,10 +836,6 @@ export function AIAgentConfigWorkbench({
<span className="text-muted-foreground">Agent </span>
<Badge variant="secondary">{agent?.statusName || "-"}</Badge>
</div>
<div className="flex items-center gap-2">
<span className="text-muted-foreground"></span>
<Badge variant="outline">{agent?.runtimeModeName || "-"}</Badge>
</div>
<div className="flex items-center gap-2">
<span className="text-muted-foreground"></span>
<Badge variant={agent?.workflowVersionId ? "default" : "outline"}>
-2
View File
@@ -242,8 +242,6 @@ export type AIAgent = {
arguments?: Record<string, string>
}[]
graphTools: string[]
runtimeMode: number
runtimeModeName: string
workflowVersionId: number
sortNo: number
createdAt: string