MCPcopy Create free account
hub / github.com/langchain-ai/deepagents / flush

Method flush

libs/code/deepagents_code/app.py:11235–11243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11233 run_anchor: Widget | None = None
11234
11235 async def flush() -> None:
11236 nonlocal run_tools, run_collapsible, run_anchor
11237 if run_tools and run_anchor is not None:
11238 await self._mount_tool_group_summary(
11239 messages, run_tools, run_collapsible, run_anchor
11240 )
11241 run_tools = []
11242 run_collapsible = []
11243 run_anchor = None
11244
11245 # One repaint for the whole regroup — a single hydration or boundary
11246 # pass can fold several runs and hide many rows at once.

Callers 15

_write_jobsMethod · 0.45
langsmith_clientFunction · 0.45
_read_streamFunction · 0.45
_run_install_subprocessFunction · 0.45
_write_iterm_escapeFunction · 0.45
_write_textFunction · 0.45
_write_newlineFunction · 0.45
write_jsonFunction · 0.45
_copy_osc52Function · 0.45
_read_log_fileMethod · 0.45

Calls 1

Tested by 2

langsmith_clientFunction · 0.36