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
fix(chat): sync live-stream fence strip regex with backend TOOL_TAGS
The browser-side EXEC_FENCE_RE only covered 6 tool names
(web_search, read_file, write_file, create_document,
edit_document, update_document) while the backend strips all
TOOL_TAGS from persisted round_texts. This caused executed
fenced tool calls (e.g. list_emails, send_email) to remain
visible in the live streaming view until session reload.
Replace the hardcoded regex with an EXEC_TOOL_TAGS array
sourced from the same set as src/agent_tools/__init__.py
(minus bash/python/ls which are valid code-block identifiers),
and build EXEC_FENCE_RE from it.
Fixes#3993
0 commit comments