dougollerenshaw / CodeAIde

A tool for interactively building and running code with AI
MIT License
2 stars 1 forks source link

Added logic for handling a missing api key #21

Closed dougollerenshaw closed 1 month ago

dougollerenshaw commented 1 month ago

Checks for a valid API key and prompts user to enter it in the chat if it's not in the .env file already. Saves it to the .env file after its entered.

Also some refactoring in chat_window and chat_handler

Tests updated.