-
Notifications
You must be signed in to change notification settings - Fork 11
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
After updating to latest 0.3.8, gpt command doesn't return any response #21
Comments
Hi @soderluk, here's a few suggestions:
For example in my Mac, there's a Alternatively, try running cloning the repo and running it this way:
That command is essentially what If that works, you could create your own script: #!/bin/sh
# ~/.bin/gpt
deno run -A path/to/your/cloned/repo/mod.ts Then put it in At this point running Hope that helps |
One other thing to try could be resetting your config file mv ~/.gpt/config.json ~/.gpt/config.bak.json # Back up config
gpt --help # Verify gpt command works, trigger setup
gpt "tell me a joke" |
I've checked that the command really being run is the correct gpt command, everything is good in Running the module straight from the repo root, using --debug:
And the answer, an empty line in the cli. I'm so confused now. I'll try to checkout the old version and see if that broke everything. |
OK, I checked out the older version, and again, same issue, so it seems the issue lies somewhere else. Wonder if my |
I got to the root cause of this. Debugging the responses, the response from openai, is:
This is the buffer on line 258 of lib/ai.ts. I'll add a new issue for this, and close this one. Thanks for your input @nicobrenner @mattvr |
Thank you for the follow up @soderluk, very glad to know you figured it out. I had the same issue with the gpt api, but I got the error directly in the console when it happened It must be happening to quite a few people as OpenAI currently changed their billing workflow |
I upgraded ShellGPT to the latest version just now, and now when running
gpt "<anything here>"
I just get an empty response.gpt "tell me a joke"
just, nothing. I also uninstalled and re-installed, as well as made sure deno is at latest version. Any guidelines to perhaps get some logs to debug the issue?The text was updated successfully, but these errors were encountered: