You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 14c8f36
Browse filesBrowse the repository at this point in the historyBrowse files
fix(agent): keep nested tool basic/advanced modes attached to their tools (#7804)
* fix(agent): keep nested tool basic/advanced modes attached to their tools
Tool canonical-mode overrides are keyed by array position, so a reorder or
removal must move them with the tools.
- Workflow edit engine (v2 operations API, Chat) reindexes modes when a batch
rewrites a block's tool list, matching tools by content, then by type
- Editor persists the tool list and reindexed modes in one realtime operation
instead of two independent writes that could partially persist
* fix(realtime): reject locked-block tool updates and tighten new types
* test(agent): drop redundant cast in tool mode reindex tests
* improvement(realtime): share the writable-block check across subblock writes
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx
0 commit comments