TechNickAI / AICodeBot

AI-powered tool for developers, simplifying coding tasks and improving workflow efficiency. 🤖
GNU Affero General Public License v3.0
49 stars 12 forks source link

Update tests to use mocks #11

Closed TechNickAI closed 1 year ago

TechNickAI commented 1 year ago

Right now the tests that require external API calls to OpenAI are skipped unless OPENAI_API_KEY is set. We set it in the prod environment, so this "works", but it really isn't the right way to do it, we should mock these requests instead.