UI error when connected to Azure OpenAI models
Author: dmaltsiniotisCreated Sep 22, 2026Updated Sep 22, 2026
Labelsbug
Bug description
When using the Azure FoundryAI OpenAI model endpoints, the UI fails on many areas. Click on Models or Settings appears to do nothing.
Steps to reproduce
- Deploy vanilla ChatUI docker container.
- Create Azure FoundryAI (deploy a single model)
- Configure the OPENAI_BASE_URL environment model to point to the FoundryAI endpoint.
- Observe that ~433 models are loaded
- Notice that when trying to select models from the left side of the UI causes an error in the console.
- Also happens when selecting Settings, Models, or any UI link that shows models.
Screenshots
Context
Logs
Uncaught Error: https://svelte.dev/e/each_key_duplicate
at Ds (IHRvy9t8.js:1:2459)
at XPJimU9v.js:1:2011
at qn (IHRvy9t8.js:1:27206)
at Fe (IHRvy9t8.js:1:28384)
at F (IHRvy9t8.js:1:23495)
at gi (IHRvy9t8.js:1:24540)
at Ge (XPJimU9v.js:1:1569)
at He (6.Dz7uoDWc.js:3:1785)
at app.Dk6zUxFb.js:2:4239
at e3rqv3zf.js:1:344Specs
- OS: Docker container
- Browser: Brave
- chat-ui commit: Latest
Config
Notes
Source: huggingface/chat-ui