refactor: remove legacy workflow management button and related messaging

This commit is contained in:
mlogclub
2026-07-27 23:31:46 +08:00
parent 847f688398
commit b11b6084cb
3 changed files with 3 additions and 14 deletions
+1 -1
Submodule docs updated: d343eaf648...44a828067b
@@ -36,6 +36,7 @@ test("AI Agent config uses one Agent Loop without a runtime mode selector", () =
assert.doesNotMatch(configWorkbenchSource, /runtimeMode/)
assert.doesNotMatch(adminApiSource, /runtimeMode/)
assert.doesNotMatch(configWorkbenchSource, /运行方式/)
assert.match(configWorkbenchSource, /Workflow 是 Agent 的可选能力/)
assert.doesNotMatch(configWorkbenchSource, /Workflow 是 Agent 的可选能力/)
assert.doesNotMatch(configWorkbenchSource, /管理工作流/)
assert.match(configWorkbenchSource, /写操作(需确认)/)
})
@@ -648,19 +648,7 @@ export function AIAgentConfigWorkbench({
<FormSection
title="工作流"
description="关联工作流中心中已经发布的固定版本。"
action={
<Button
type="button"
variant="outline"
onClick={() => window.location.assign("/dashboard/ai-workflows")}
>
</Button>
}
>
<div className="rounded-lg border border-blue-200 bg-blue-50 px-3.5 py-3 text-sm text-blue-900 dark:border-blue-900 dark:bg-blue-950/30 dark:text-blue-200">
Workflow Agent
</div>
<OptionCombobox
multiple
values={workflowBindings.map((binding) =>