How to change openai model list? #13799
Replies: 5 comments 4 replies
-
|
@imrefazekas good question, and the short answer is yes you can use Bifrost models in Langflow, but
What actually works with Bifrost today1. Per-component setup (most reliable) In your flow's OpenAI or Language Model component (Advanced settings):
Since Langflow 1.5+, the chat model field is a combobox. You can click it and type a model name even if it is not in the list. That is the main escape hatch for Bifrost, where models are often 2. Global Settings → Model Providers Profile icon → Settings → Model Providers → configure OpenAI, add your key, enable models you want available app-wide. This controls what shows up in Agent / Language Model dropdowns across flows, including launcher-style chat UIs that use the unified model picker. But the list is still Langflow's built-in catalog, not a live pull from Bifrost. You enable what you need, or type custom names in the combobox where supported. 3. Agent flows with a custom model port If the global dropdown does not fit, wire a standalone OpenAI component (with Bifrost base URL + model name) into the Agent's Language Model input port. That bypasses the global provider list entirely and is the pattern people use for Ollama, vLLM, LocalAI, and gateways like Bifrost. Flow launcher chat UI specificallyThe launcher chat uses whatever model is configured in the flow itself (Agent or Language Model component). It does not magically discover Bifrost models on its own. Practical approach:
So for launcher UX, you either pre-configure the model in the flow, or enable the models you want in global settings. Is there a way to "give Langflow a list"?Not as a single env var like
There is no built-in "point Langflow at Bifrost Bifrost-specific tips
Minimal example configIn your flow's OpenAI / Agent model settings: Globally you can also set: But you still pick or type the model name per component. Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
|
@false200 thank you for the quick answer. The motivation behind my question: we have a provisioned on prem AI system so behind Bifrost, we have local LLMs. |
Beta Was this translation helpful? Give feedback.
-
|
In the background Ollama is running . I can get the ids but not sure where I can enter ... |
Beta Was this translation helpful? Give feedback.
-
|
I was able to edit the code, overwriting the URL and model. That works, just highly uncomfortable. Also made a feature request ticket. I guess for the time being we need to investigate other solutions which support custom LLMs. |
Beta Was this translation helpful? Give feedback.
-
|
This is a very real problem for on-prem / gateway-based setups. If Langflow is pointed at Bifrost, LiteLLM, vLLM, Ollama-through-gateway, or any internal model router, then the model picker should ideally reflect the gateway’s real model fleet, not only Langflow’s built-in catalog. Aliasing internal models as fake OpenAI names like A cleaner design might be:
For local/on-prem fleets with 6+ models, the model list is not just a UI detail. It affects correctness, debugging, cost tracking, and whether users know which model handled a workflow. The current workaround of editing code or baking custom constants into an image works, but it is not ideal for teams that change model fleets over time. I think this would be a useful feature request: gateway-backed model discovery for OpenAI-compatible providers, with optional admin-controlled model visibility. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I understand with OPENAI_API_BASE we can change the open API URL ... but in our case, that would be a Bifrost system so not the OpenAI models behind it. Is there a way to give a list of models to Langflow to be used? Especially in the "flow launcher chat UI"?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions