refactor: remove agent ID references from AI workflow handling and related components
This commit is contained in:
@@ -478,7 +478,6 @@ export function AIAgentConfigWorkbench({
|
||||
setSavingWorkflow(true)
|
||||
try {
|
||||
await saveAIAgentWorkflow({
|
||||
agentId: currentAgentId,
|
||||
name: "",
|
||||
description: "",
|
||||
definition,
|
||||
@@ -561,7 +560,6 @@ export function AIAgentConfigWorkbench({
|
||||
setSavingWorkflow(true)
|
||||
try {
|
||||
const saved = await saveAIAgentWorkflow({
|
||||
agentId: currentAgentId,
|
||||
name: "",
|
||||
description: "",
|
||||
definition,
|
||||
|
||||
@@ -402,7 +402,6 @@ export type AIWorkflow = {
|
||||
id: number
|
||||
name: string
|
||||
description: string
|
||||
agentId: number
|
||||
status: number
|
||||
draftDefinition: AIWorkflowDefinition
|
||||
publishedVersionId: number
|
||||
@@ -459,7 +458,6 @@ export type AIWorkflowValidationResult = {
|
||||
export type CreateAIWorkflowPayload = {
|
||||
name: string
|
||||
description: string
|
||||
agentId?: number
|
||||
definition: AIWorkflowDefinition
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user