uday-rana / codeshift

A command-line tool that translates source code files into a chosen programming language.
MIT License
5 stars 4 forks source link

Validate `GROQ_API_KEY` is set in `.env` file to prevent program failure #5

Closed vinhyan closed 1 week ago

vinhyan commented 2 weeks ago

The program currently assumes that GROQ_API_KEY is set in the .env file, but there is no validation to check if this key exists. If the key is missing, the program will fail with an unhandled error.

uday-rana commented 2 weeks ago

Good suggestion, will implement