Write agent response text to stdout (without a trailing newline). Uses `sys.stdout` directly (rather than the Rich Console) so that agent response text always appears on stdout, even in quiet mode where the Console is redirected to stderr. Args: text: The text string to wri
(text: str)
| 92 | |
| 93 | |
| 94 | def _write_text(text: str) -> None: |
| 95 | """Write agent response text to stdout (without a trailing newline). |
| 96 | |
| 97 | Uses `sys.stdout` directly (rather than the Rich Console) so that agent |
| 98 | response text always appears on stdout, even in quiet mode where the |
| 99 | Console is redirected to stderr. |
| 100 | |
| 101 | Args: |
| 102 | text: The text string to write. |
| 103 | """ |
| 104 | sys.stdout.write(text) |
| 105 | sys.stdout.flush() |
| 106 | |
| 107 | |
| 108 | def _write_newline() -> None: |
no test coverage detected
searching dependent graphs…