Closed TechNickAI closed 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.
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.