mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-09 10:50:35 -06:00
[GH-ISSUE #15003] issue: Uncaught (in promise) TypeError: x.messages[U.parentId] is undefined browser console error from a chat bug
#17439
Reference in New Issue
Block a user
Originally created by @silentoplayz on GitHub (Jun 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15003
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.14
Ollama Version (if applicable)
v0.9.0
Operating System
Edition: Windows 11 Pro | Version: 24H2 | OS Build: 26100.4351 | Windows Feature Experience Pack: 1000.26100.107.0
Browser (if applicable)
LibreWolf v135.0.1-1 (Firefox)
Confirmation
README.md.Expected Behavior
Model not foundshould appear. (This DOES happen, which IS expected)Voice Modeheadset icon for calling an LLM should NOT change into aStopbutton, especially since there aren't any models selected in the model dropdown for inference.Stopbutton in this scenario should revert the button back to theVoice Modeheadset icon. Instead, anUncaught (in promise) TypeError: x.messages[U.parentId] is undefinederror is thrown in the browser console.Actual Behavior
Model not founddoes appear.Voice Modeheadset icon does change into theStopbutton, as if it were generating a response, despite no model being selected in the model dropdown.Uncaught (in promise) TypeError: x.messages[U.parentId] is undefinedis thrown in the browser console.Steps to Reproduce
Reproduction Method 1:
Modelssection of the workspace and delete the custom model you have created.Select a modelat the top of the chat, rather than the model used in it.Stopbutton at the right hand side of the text input field.Reproduction Method 2:
Chatssection of the settings menu.chat-export-1750033271698.json
Logs & Screenshots
Here is the browser console error that is thrown in LibreWolf browser after reproducing this bug:
Screen Recording of how to reproduce this issue:
https://github.com/user-attachments/assets/8d6c4279-fdd9-477a-a1e7-044ba35de68b
Additional Information
You must start with a chat where there aren't any models selected in the model dropdown, due to whatever reason; it could be a model rename, model deletion, etc.
@tjbck commented on GitHub (Jun 16, 2025):
8892c14984may have addressed the issue, testing wanted here!@silentoplayz commented on GitHub (Jun 16, 2025):
This commit does prevent the
Model not foundnotification from appearing, but theCallicon ultimately still gets changed over to aStopbutton. Upon clicking the stop button, I get this new browser console error:@tjbck commented on GitHub (Jun 16, 2025):
Might've been addressed with
9cbe2644b1, testing wanted here still!@silentoplayz commented on GitHub (Jun 16, 2025):
This commit did the trick! It does display the
Model not foundnotification (as anticipated/expected, because there's no model selected in the model dropdown within my test chat) and editing my message to remove it, followed by clicking eitherSaveorSenddoes not switch theCallicon to aStopicon any longer. No error is thrown in the browser console logs or within Docker logs anymore. This issue has been solved!🎉