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. |
|
@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. |
|
In the background Ollama is running . I can get the ids but not sure where I can enter ... |
|
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. |
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!
All reactions