Skip to content

feat(program): separate interactive and non-interactive output handling - #14

Merged
rfprod merged 1 commit into
mainfrom
streaming-output
Oct 14, 2026
Merged

rfprod merged 1 commit into
mainfrom
streaming-output

Conversation

@rfprod

@rfprod rfprod commented Oct 14, 2026

Copy link
Copy Markdown
Owner
  • move string declarations before control flow in check_ollama and init_curl;
  • extract response stream output to UI methods instead of direct stdout;
  • add print_message_noninteractive method for non-interactive output mode;
  • implement text buffering and batched output in response stream processing;
  • add documentation comments for UserInterface print methods;
  • format streaming output inline with the non-streaming;
  • document methods declared in user-interface.hpp;

- [x] move string declarations before control flow in `check_ollama` and `init_curl`;
- [x] extract response stream output to `UI` methods instead of direct `stdout`;
- [x] add `print_message_noninteractive` method for non-interactive output mode;
- [x] implement text buffering and batched output in response stream processing;
- [x] add documentation comments for `UserInterface` print methods;
- [x] format streaming output inline with the non-streaming;
- [x] document methods declared in `user-interface.hpp`;
@rfprod rfprod self-assigned this Oct 14, 2026
@rfprod rfprod added Documentation Improvements or additions to documentation. Enhancement Existing functionality improvement related changes. Fix Something was fixed. Refactor Refactoring related changes. Program Main program logic related changes. labels Oct 14, 2026
@rfprod
rfprod enabled auto-merge (squash) October 14, 2026 09:04
@rfprod
rfprod disabled auto-merge October 14, 2026 09:07
@rfprod
rfprod merged commit d9ddd9d into main Oct 14, 2026
3 checks passed
@rfprod
rfprod deleted the streaming-output branch October 14, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation. Enhancement Existing functionality improvement related changes. Fix Something was fixed. Program Main program logic related changes. Refactor Refactoring related changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant