Skip to content

fix: restore CLI chat response display after stream_output refactor#171

Merged
frostming merged 1 commit intobubbuild:mainfrom
oilbeater:fix/cli-chat-output-display
Apr 16, 2026
Merged

fix: restore CLI chat response display after stream_output refactor#171
frostming merged 1 commit intobubbuild:mainfrom
oilbeater:fix/cli-chat-output-display

Conversation

@oilbeater
Copy link
Copy Markdown
Contributor

@oilbeater oilbeater commented Apr 16, 2026

The stream_output flag introduced in #170 defaults to False, which bypasses CliChannel.stream_events() and relies on send() for output. Since send() only handled errors, normal responses were silently dropped.

  • Force stream_output=True for bub chat so streaming remains the primary display path.
  • Store stream_output override as an instance variable instead of mutating the settings object.

Made-with: Cursor

Comment thread src/bub/channels/cli/__init__.py Outdated
Comment thread src/bub/channels/manager.py Outdated
The stream_output flag introduced in bubbuild#170 defaults to False, which
bypasses CliChannel.stream_events() and relies on send() for output.
Since send() only handled errors, normal responses were silently dropped.

- Force stream_output=True for `bub chat` so streaming remains the
  primary display path.
- Store stream_output override as an instance variable instead of
  mutating the settings object.

Made-with: Cursor
@oilbeater oilbeater force-pushed the fix/cli-chat-output-display branch from 4f683e9 to a5de041 Compare April 16, 2026 07:56
@frostming frostming merged commit b570650 into bubbuild:main Apr 16, 2026
5 checks passed
@oilbeater oilbeater deleted the fix/cli-chat-output-display branch April 16, 2026 08:02
@frostming
Copy link
Copy Markdown
Collaborator

Thank you 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants