Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support streaming to pipe #542

Open
johnd0e opened this issue Apr 14, 2024 · 0 comments
Open

Support streaming to pipe #542

johnd0e opened this issue Apr 14, 2024 · 0 comments

Comments

@johnd0e
Copy link

johnd0e commented Apr 14, 2024

Describe the bug
When using in terminal text streaming works as it should, but when piping output - it shows up all at once.

To Reproduce

sgpt --no-cache "Write a short story"|less

Expected behavior
When I pipe other utilities to less - I see output appear line by line.

Environment (please complete the following information):

  • os version: Windows 10
  • sgpt version: 1.4.3
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

No branches or pull requests

1 participant