mattvr / ShellGPT

Upgrade your terminal with GPT-4. Ask questions, automate commands, pipe I/O, etc. Made with Deno.
MIT License
232 stars 11 forks source link

configure removal of wpm limitation #6

Closed ekg closed 1 year ago

ekg commented 1 year ago

It's a little unclear to me why you'd want to throttle the output to a given wpm. Is there a way to configure this limit to be "off"?

mattvr commented 1 year ago

@ekg the purpose is to make the output appear smooth. Most GPT tools have choppy output that comes in chunks of words. I found that aesthetically less pleasing than character-by-character streaming.

You could alias gpt to gpt --wpm 9999 $@ in your shell's profile to avoid the throttling. I could also add a permanent config setting for it in the next update.

ekg commented 1 year ago

Thanks, I understand that. From my perspective these interfaces are useful in an environment that is unlikely to be observed by a human, so simulating human behavior is irrelevant. I can do the alias of course. Does setting the wpm value to a huge number ensure the flow is as fast as possible?

mattvr commented 1 year ago

@ekg I've added the ability to bypass the WPM buffered output:

Relevant release notes and update instructions are here: https://github.com/mattvr/ShellGPT/releases/tag/0.3.1

Thanks for the feedback and let me know if you have any issues or further suggestions.