This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
[Feature] support canopy chat --no-rag flag with Azure OpenAI #276
Labels
enhancement
New feature or request
Is this a new bug?
Current Behavior
All of my Azure OpenAI env vars are set, and I was able to both
canopy upsert
andcanopy start
using the Azure OpenAI setup.When running
canopy chat
, everything works as expected.However when running
canopy chat --no-rag
, after submitting the first prompt, an error is returned: "Error: No OpenAI API key provided. When using the--no-rag
flag You will need to have a valid OpenAI API key. Please set the OPENAI_API_KEY environment variable."Expected Behavior
The expected behavior is that the --no-rag flag would work for the Azure OpenAI setup.
Steps To Reproduce
canopy start
)canopy chat --no-rag
The text was updated successfully, but these errors were encountered: