danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://danswer.ai
Other
10.61k stars 1.33k forks source link

Failed to set provider as default: undefined #1897

Open hikmet-demir opened 3 months ago

hikmet-demir commented 3 months ago

Just pull the repo, I run the docker commands successfully and front-end come alive http://localhost:3000/search

image

I'm getting "Failed to set provider as default: undefined", it's quite bad experience tbh. Any mitigation or fixes for this?

bfamchon commented 3 months ago

Hello, Was running the same problem with latest version. I fix it when seeing that environment variables interpretation was changed and for example, specifying

GEN_AI_API_ENDPOINT="https://bfamchon.openai.azure.com/" was translated into \"https://bfamchon.openai.azure.com/\" when passing in requests

Same logic for all variables: GEN_AI_API_VERSION, GEN_AI_API_KEY... So I remove all my quotes from variables.

I see that analyzing request body in network...

Hope it can help you

hikmet-demir commented 3 months ago

Hope it can help you

Thank you very much for the help, but this is breaking for everyone and it needs to be addressed by owners/maintaners of the repo. There are 281 Issues and 58 PR open...

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 75 days with no activity. Remove stale label or comment or this will be closed in 15 days.