Closed thunderbug1 closed 1 year ago
This was done to accommodate azure users when the plugin worked off the main OpenAI API key. Somewhere along the line, I decided to separate the DALL-E concern but I just realized I forgot to edit this, thanks to you. I'm pushing the changes now.
Contact Details
No response
What happened?
When using the azure openai api + installing the dall-e plugin and giving it a valid openai api key from openai it tries to use the azure openai chat instead of calling the openai dall-e endpoint.
In the logs I see a request to: "POST /openai/deployments/chat/images/generations?api-version=2023-03-15-preview " (where "chat" is the endpoint configured in AZURE_OPENAI_API_DEPLOYMENT_NAME )
I think here are 2 issues:
Steps to Reproduce
Set values in .env file for: AZURE_OPENAI_API_KEY= AZURE_OPENAI_API_INSTANCE_NAME= AZURE_OPENAI_API_DEPLOYMENT_NAME= AZURE_OPENAI_API_VERSION= AZURE_OPENAI_API_COMPLETIONS_DEPLOYMENT_NAME= AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME=
comment out all ChatGPT Endpoint settings
Start with docker-compose up
open librechat page
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
Code of Conduct