nicobrenner / commandjobs

Command Jobs uses AI to help software engineers find the best jobs
Apache License 2.0
151 stars 14 forks source link

App dies silently when using wrong OpenAI API Key #45

Closed nicobrenner closed 6 months ago

nicobrenner commented 6 months ago

If I just copy src/sample.env to .env and run the app, it will just pass the default text your_openai_api_key_here as the key, then fail to get a result, but never display it anywhere visibly - there is no error message

AaryamanVyas commented 6 months ago

Hi I would like to look into it.

nicobrenner commented 6 months ago

Thank you @aaryamantriescode! Really appreciate it, could you please check if this PR works ok? https://github.com/nicobrenner/commandjobs/pull/46

I just merged it into master

Please let me know if more changes or a better fix is needed