News for hackers. Stuff that matters.
Re:A: A CLI tool to generate code snippets from GPT3 written... by JPKab on Thursday March 02, 2023 @05:10PM (#35002787)
Super cool idea, but I really really hate it when I take about 15 minutes out of my day to install something and then have it not work at all.

  ~ a python script that makes a request
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', /Users/some_user/.cargo/registry/src/github.com-1ecc6299db9ec823/a-gpt-0.1.9/src/main.rs:15:51 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Edit: I'm on a Mac x86. Curious if others have same experience.

Re:A: A CLI tool to generate code snippets from GPT3 written... by netfortius on Thursday March 02, 2023 @05:33PM (#35003043)
Same here - also on macos. Thinking about opening an issue on the github repo, but will try to see if I could figure out from the source code what this is about, first
Re:A: A CLI tool to generate code snippets from GPT3 written... by contextnavidad on Thursday March 02, 2023 @05:14PM (#35002836)
Looks like you need an env var `OPENAI_API_KEY` for this to work. Strange that it is not documented at all.

Also they could have provided an actual error rather than letting it panic!

Re:A: A CLI tool to generate code snippets from GPT3 written... by synergy20 on Thursday March 02, 2023 @05:19PM (#35002891)
With a valid key I still get errors.

read the returning message it says I exceeded my daily quota, checked my account, my free API trial period ended a few months back.

Paying for ChatGPI does not mean you can get API access, in short, you need pay for API access separately after a short trial period to use this tool:

"No, the ChatGPT API and ChatGPT Plus subscription are billed separately. The API has its own pricing, which can be found at https://openai.com/pricing. The ChatGPT Plus subscription covers usage on chat.openai.com only and costs $20/month."

Re:A: A CLI tool to generate code snippets from GPT3 written... by pohl on Thursday March 02, 2023 @05:18PM (#35002883)
They could use a to have ChatGPT generate a function for that.
Re:A: A CLI tool to generate code snippets from GPT3 written... by synergy20 on Thursday March 02, 2023 @05:15PM (#35002841)
same here on x86 ubuntu 22.04
Re:A: A CLI tool to generate code snippets from GPT3 written... by akkad33 on Friday March 03, 2023 @07:03AM (#35008434)
What this shows is if it compiles it doesn't just work