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

Stream responses from GPT and lazy import CLI commands to improve performance. #127

Merged
merged 7 commits into from
Jul 3, 2023

Conversation

steegecs
Copy link
Collaborator

@steegecs steegecs commented Jul 3, 2023

Responses from the diff and chat commands will now be streamed to you instead of occurring in a single block. Additionally, this PR fixes some latency that was occurring on simple commands do to importing more than was necessary, so I used lazy importing to reduce this latency.

…ription; Added aiohttp and termcolor to requirements.txt: Co-authored-by: MindFlow <mf@mindflo.ai>
…low works: Co-authored-by: MindFlow <mf@mindflo.ai>
@steegecs steegecs changed the title Stream Stream responses from GPT and lazy import CLI commands to improve performance. Jul 3, 2023
@steegecs steegecs merged commit d13c1cb into main Jul 3, 2023
@steegecs steegecs deleted the stream branch July 3, 2023 02:52
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.

1 participant