diff --git a/frontend/src/lib/components/flows/common/FlowCardHeader.svelte b/frontend/src/lib/components/flows/common/FlowCardHeader.svelte index 335d17f2e0..d42a0e532c 100644 --- a/frontend/src/lib/components/flows/common/FlowCardHeader.svelte +++ b/frontend/src/lib/components/flows/common/FlowCardHeader.svelte @@ -41,7 +41,8 @@ children?: import('svelte').Snippet action?: import('svelte').Snippet /** For an agent tool, the agents it sits under, shown above the header as the way back up: - * a nested agent's tools have no graph node to reach them from. */ + * a nested agent's tools have no graph node to reach them from. Each crumb selects its agent, + * so pass it only where selecting an agent opens it (not in the saved-agent editor). */ agentTrail?: Pick[] isAgentTool?: boolean siblingToolNames?: string[] diff --git a/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte b/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte index a81a297b79..e1282ed77d 100644 --- a/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte +++ b/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte @@ -130,7 +130,7 @@ * surface without a graph — the agent editor, which addresses one tool at a time — would * offer a row whose click lands nowhere. */ noToolNavigation?: boolean - /** See `FlowCardHeader`. Only passed where selecting an agent opens it. */ + /** See `FlowCardHeader`. */ agentTrail?: Pick[] toolDescription?: string | undefined siblingToolNames?: string[]