Refactor AIAgent runtime handling and remove unused fields
This commit is contained in:
@@ -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"}>
|
||||
|
||||
@@ -242,8 +242,6 @@ export type AIAgent = {
|
||||
arguments?: Record<string, string>
|
||||
}[]
|
||||
graphTools: string[]
|
||||
runtimeMode: number
|
||||
runtimeModeName: string
|
||||
workflowVersionId: number
|
||||
sortNo: number
|
||||
createdAt: string
|
||||
|
||||
Reference in New Issue
Block a user