mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 20:53:03 -05:00
[GH-ISSUE #21331] issue: When using Ollama-compatible LLM provider which does not use ":latest" in its model names no chat is possible #139171
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @daniel-georg369 on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21331
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.7.2
Ollama Version (if applicable)
no ollame
Operating System
Windows
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Actual Behavior
Steps to Reproduce
Logs & Screenshots
2026-02-12 15:16:02.437 | DEBUG | open_webui.utils.middleware:process_chat_payload:1641 - tool_ids=None
2026-02-12 15:16:02.437 | DEBUG | open_webui.utils.middleware:process_chat_payload:1642 - direct_tool_servers=[]
2026-02-12 15:16:02.438 | DEBUG | open_webui.utils.chat:generate_chat_completion:171 - generate_chat_completion: {'stream': True, 'model': 'azure-o4-mini', 'messages': [{'role': 'user', 'content': "What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."}], 'metadata': {'user_id': '50f9c58c-88a6-41df-ad7d-41585fb4a24e', 'chat_id': '01ab8261-b7ee-48cc-91fd-1976321df6f8', 'message_id': '5c397ddc-4c87-4e5c-a936-6fd35fb31b6a', 'parent_message': {'id': 'c0c7598d-41af-4854-9456-887802f0ab2f', 'parentId': None, 'childrenIds': ['5c397ddc-4c87-4e5c-a936-6fd35fb31b6a'], 'role': 'user', 'content': "What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter.", 'timestamp': 1770909362, 'models': ['azure-o4-mini']}, 'parent_message_id': 'c0c7598d-41af-4854-9456-887802f0ab2f', 'session_id': 'VTo6LB43IhJiEhw5AAAD', 'filter_ids': [], 'tool_ids': None, 'tool_servers': [], 'files': None, 'features': {'voice': False, 'image_generation': False, 'code_interpreter': False, 'web_search': False}, 'variables': {'{{USER_NAME}}': 'My User', '{{USER_LOCATION}}': 'Unknown', '{{CURRENT_DATETIME}}': '2026-02-12 16:16:02', '{{CURRENT_DATE}}': '2026-02-12', '{{CURRENT_TIME}}': '16:16:02', '{{CURRENT_WEEKDAY}}': 'Thursday', '{{CURRENT_TIMEZONE}}': 'Europe/Berlin', '{{USER_LANGUAGE}}': 'en-US'}, 'model': {'id': 'azure-o4-mini', 'name': 'azure-o4-mini', 'object': 'model', 'created': 1770909353, 'owned_by': 'ollama', 'ollama': {'name': 'azure-o4-mini', 'model': 'azure-o4-mini', 'connection_type': 'external', 'urls': [2]}, 'connection_type': 'external', 'tags': [], 'actions': [], 'filters': []}, 'direct': False, 'params': {'stream_delta_chunk_size': None, 'reasoning_tags': None, 'function_calling': 'default'}}, 'options': {}}
2026-02-12 15:16:02.440 | DEBUG | open_webui.main:process_chat:1746 - Error processing chat payload: 400: Model 'azure-o4-mini:latest' was not found
Additional Information
The model names delivered by the LLM provider are without ":latest" or ":14b", there is no ":" included in the name.
In main/backend/open_webui/routers/ollama.py there are several code snippets with:
if ":" not in model:
model = f"{model}:latest"
So it seems Open Webui is always adding a ":latest" without it being necessary.
The same LLM provider works without any problems in N8N using their Ollama tool.
@Classic298 commented on GitHub (Feb 12, 2026):
fixed by
05ae44b98d@manuel-koch commented on GitHub (Feb 13, 2026):
I updated to v0.8.0 but still ollama cloud models that don't use ":latest" tag can't be used in Open WebUI.
I removed such a model from my ollama provider configuration, saved the config and re-added the model ( kimi-k2-thinking ).
Afterwards trying to chat with that model always returns "400: Model 'cloud.kimi-k2-thinking:latest' was not found".
The model exists on ollama cloud:
@Classic298 Anything else I need to do to get it working ?
I checked my Open WebUI configuration and I'm usingMODELS_CACHE_TTL="1200"too.But AFAIK editing a provider or a model invalidates the cached models.
I have edited the model config for kimi-k2-thinking. Even if I remove the model from the ollama provider and save/reload and re-add it afterwards and save/reload my edited model config for kimi-k2-thinking is re-used - could that be a problem ?
Any cache that needs to be invalidated ? How ?
@daniel-georg369 commented on GitHub (Feb 13, 2026):
I also just updated to 0.8.0, for us the problem is fixed. We now see our models as "modelname":"providername"
Thanks for the extremely fast fix! :)
@manuel-koch commented on GitHub (Feb 13, 2026):
I'm running another Open WebUI instance where no Ollama Cloud provider was used before.
Adding a ollama cloud provider ( incl. the model kimi-k2-thinking ), save/reload, check that model appears in the list of models, try to chat: "400: Model 'cloud.kimi-k2-thinking:latest' was not found"
@manuel-koch commented on GitHub (Feb 13, 2026):
See a related discussion.