MCPcopy Index your code
hub / github.com/langchain-ai/deepagents / _write_newline

Function _write_newline

libs/code/deepagents_code/non_interactive.py:108–111  ·  view source on GitHub ↗

Write a newline to stdout (and flush).

()

Source from the content-addressed store, hash-verified

106
107
108def _write_newline() -> None:
109 """Write a newline to stdout (and flush)."""
110 sys.stdout.write("\n")
111 sys.stdout.flush()
112
113
114class _ConsoleSpinner:

Callers 2

_process_ai_messageFunction · 0.85
_run_agent_loopFunction · 0.85

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…