Skip to content

issue: Uncaught TypeError: can't access property "id", r().model is undefined in Node.svelte #19933

@silentoplayz

Description

@silentoplayz

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.41

Ollama Version (if applicable)

v0.13.3

Operating System

Ubuntu 24.04.3 LTS

Browser (if applicable)

Mozilla Firefox Snap for Ubuntu v146.0 (64-bit)

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

The Chat Overview tab should display the message pair as expected, even if the model has been removed or toggled off, or it should handle the missing model gracefully without crashing the UI.

Actual Behavior

The Chat Overview tab appears empty and throws an Uncaught TypeError in the browser console. The error prevents the tab from rendering content correctly.

Steps to Reproduce

  1. Clone a base model from the Models section of the admin settings.
  2. Start a new chat with this cloned model and send any query. Wait for the model's response to finish.
  3. Eject the base model that is loaded in from the cloned model via the model selector.
  4. Visit the Models section of the Workspace and toggle off the cloned model from here.
  5. Revisit the chat you just left and open the Overview tab.
  6. Notice the Overview tab is actually empty and the error is reproduced instantly in the browser console.
  7. Mouse click/drag around in the Overview tab. The error may or may not be reproduced again here.

Workaround/Confirmation:

  1. Refresh the page
  2. Revisit the Models section of the Workspace and toggle on the cloned model again.
  3. Revisit the chat once more and open the Overview tab again.
  4. Notice the Overview now displays the message pair as expected and doe not throw any errors in the browser console.
    Tested with both the base model AND the custom clone made from it and it's reproducible still.

Logs & Screenshots

Browser Console Log:

Uncaught TypeError: can't access property "id", r().model is undefined
    f Node.svelte:47
    Ae runtime.js:747
    f Node.svelte:13
    vr runtime.js:297
    an deriveds.js:342
    Kn deriveds.js:356
    _e runtime.js:684
    get src Node.svelte:47
    <anonymous> props.js:315
    j store.js:199
    X props.js:315
    A ProfileImage.svelte:5
    z Node.svelte:47
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    c if.js:55
    q if.js:63
    children Node.svelte:24
    q if.js:61
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    q if.js:58
    children Node.svelte:61
    o slot.js:28
    Hi Tooltip.svelte:67
    Gr svelte-element.js:119
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    Gr svelte-element.js:69
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    Gr svelte-element.js:59
    Hi Tooltip.svelte:55
    Nl Node.svelte:20
    Ae NodeWrapper.svelte:160
    l svelte-component.js:24
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    l svelte-component.js:24
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    l svelte-component.js:22
    Ae NodeWrapper.svelte:98
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    c if.js:55
    q if.js:63
    ws NodeWrapper.svelte:118
    q if.js:61
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    q if.js:58
    ws NodeWrapper.svelte:141
    ps NodeRenderer.svelte:55
    e each.js:672
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    P each.js:672
    Se each.js:434
    i each.js:163
    Le each.js:315
    vr runtime.js:297
    Je runtime.js:477
    hn batch.js:711
    process batch.js:196
    Yt batch.js:622
    flush batch.js:314
    ensure batch.js:502
    Sn utils.js:45
    qn task.js:10
    vt task.js:28
Node.svelte:47:66
    f Node.svelte:47
    Ae runtime.js:747
    f Node.svelte:13
    vr runtime.js:297
    an deriveds.js:342
    Kn deriveds.js:356
    _e runtime.js:684
    get src Node.svelte:47
    <anonymous> props.js:315
    j store.js:199
    X props.js:315
    A ProfileImage.svelte:5
    z Node.svelte:47
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    c if.js:55
    q if.js:63
    children Node.svelte:24
    q if.js:61
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    q if.js:58
    children Node.svelte:61
    o slot.js:28
    Hi Tooltip.svelte:67
    Gr svelte-element.js:119
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    Gr svelte-element.js:69
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    Gr svelte-element.js:59
    Hi Tooltip.svelte:55
    Nl Node.svelte:20
    Ae NodeWrapper.svelte:160
    l svelte-component.js:24
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    l svelte-component.js:24
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    l svelte-component.js:22
    Ae NodeWrapper.svelte:98
    ensure branches.js:166
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    ensure branches.js:166
    c if.js:55
    q if.js:63
    ws NodeWrapper.svelte:118
    q if.js:61
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ir effects.js:380
    q if.js:58
    ws NodeWrapper.svelte:141
    ps NodeRenderer.svelte:55
    e each.js:672
    vr runtime.js:297
    Je runtime.js:477
    le effects.js:126
    ke effects.js:392
    P each.js:672
    Se each.js:434
    i each.js:163
    Le each.js:315
    vr runtime.js:297
    Je runtime.js:477
    hn batch.js:711
    process batch.js:196
    Yt batch.js:622
    flush batch.js:314
    ensure batch.js:502
    Sn utils.js:45
    qn task.js:10
    vt task.js:28

Screenshot:
Image

Additional Information

I may have a fix PR coming soon for this issue. I will need to test it first!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions