[X] I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
All of my Azure OpenAI env vars are set, and I was able to both canopy upsert and canopy 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.
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