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
When `stream=false` but `verbose=true`, the system was still showing streaming-like visual behavior ("Generating... X.Xs") because the code was using `display_generating` function even when the user explicitly set `stream=false`.
5
+
6
+
## Root Cause
7
+
Two locations in `agent.py` were passing `display_generating` as `display_fn` when `stream=False` and `verbose=True`:
8
+
9
+
-**Line 1073**: `display_fn=display_generating if (not stream and self.verbose) else None`
10
+
-**Line 1172**: `display_fn=display_generating if (not stream and self.verbose) else None`
11
+
12
+
This conflated two different concepts:
13
+
-**Verbose**: Show detailed information
14
+
-**Visual Progress**: Show animated progress indicators
15
+
16
+
## Solution
17
+
Changed both locations to:
18
+
```python
19
+
display_fn=None, # Don't use display_generating when stream=False to avoid streaming-like behavior
0 commit comments