Skip to content

[BUG] Newly created model does not appear in agent model dropdown without page refresh #1148

@ddjain

Description

@ddjain

📋 Prerequisites

  • I have searched the existing issues to avoid creating a duplicate
  • By submitting this issue, you agree to follow our Code of Conduct
  • I am using the latest version of the software
  • I have tried to clear cache/cookies or used incognito mode (if ui-related)
  • I can consistently reproduce this issue

🎯 Affected Service(s)

UI Service

🚦 Impact/Severity

Minor inconvenience

🐛 Bug Description

When a new model is created, it does not immediately appear in the “Select Model” dropdown while configuring an agent. The dropdown only updates after manually refreshing the page.

🔄 Steps To Reproduce

  1. Go to Models section.
  2. Click Create and click on New Model
  3. Go to Agents → Add/Update Agent.
  4. Open the Model dropdown.
  5. Newly created model is missing.
  6. Refresh the page → Model now appears.

🤔 Expected Behavior

The dropdown should automatically include the newly created model without requiring a manual page refresh.

📱 Actual Behavior

Newly created models appear only after refreshing the page.

💻 Environment

No response

🔧 CLI Bug Report

No response

🔍 Additional Context

No response

📋 Logs

📷 Screenshots

Screen.Recording.2025-12-03.at.11.30.13.PM.mov

🙋 Are you willing to contribute?

  • I am willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions