Commit 70aa48c
authored
Fix/agent stream debug (#37)
* debug: log line length and preview without scrubbing
* fix: use Modal text=True bufsize=1 for line-buffered streaming
Modal buffers all stdout by default until process exits, causing
Claude Code's streaming output to arrive as a single blob.
Using text=True, bufsize=1 enables line-buffered streaming.1 parent f4dae3a commit 70aa48c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments