dust-tt / dust

Amplify your team's potential with customizable and secure AI assistants.
https://dust.tt
MIT License
986 stars 110 forks source link

Error updating providers in Manage Providers drawer #6115

Closed JulesBelveze closed 4 months ago

JulesBelveze commented 4 months ago

When trying to update providers in the Manage Providers drawer I hit the following error message:

"Invalid request body: Expecting one of:\n    { domain: string, domainAutoJoinEnabled: boolean }\n    { domain: string, domainAutoJoinEnabled: boolean }\n    { name: string }\n    { ssoEnforced: boolean }\n    { whiteListedProviders: Array<4851fc8e-ceed-49c0-897c-ea60c5fd5e5d>, defaultEmbeddingProvider: e63c6e6f-dcf5-42df-ac5f-f8ea8103ffee }\nbut instead got: {\"whiteListedProviders\":[\"openai\",\"mistral\",\"google_ai_studio\"],\"defaultEmbeddingProvider\":null}"
fontanierh commented 4 months ago

Can't reproduce neither locally or in prod. This is your local @JulesBelveze ?

JulesBelveze commented 4 months ago

@fontanierh I fixed it in https://github.com/dust-tt/dust/pull/6119 👍🏼