You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Steps To Reproduce
Setup Azure OpenAI env vars
Run server (canopy start)
Execute canopy chat --no-rag
The text was updated successfully, but these errors were encountered:
igiloh-pinecone
changed the title
[Bug] canopy chat with --no-rag flag not working with Azure OpenAI
[Feature] support canopy chat --no-rag flag with Azure OpenAI
Feb 7, 2024
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: