Skip to content

Agent deployment fails because downloaded local model is reported as missing (beta.21) #1600

Description

@mandresve

Description

This appears to be related to the model discovery issues previously reported.

After downloading a local RKLLM model, it is possible to select it while creating a new agent. The deployment wizard correctly lists the downloaded model, suggesting that the model registry is aware of it.

However, the final deployment step fails because the backend reports that the model cannot be found.

Steps to reproduce

  1. Download a local model (e.g. qwen2.5-3b-rkllm-w8a8.rkllm).
  2. Verify that it appears under Downloaded Models.
  3. Open Agents.
  4. Create a new agent.
  5. Select the downloaded local model.
  6. Complete the remaining configuration steps.
  7. Click Deploy Agent.

Observed behavior

The deployment fails on the final step with the following error:

model 'qwen2.5-3b-rkllm' was not found on the controller, on any online worker, or among configured cloud providers. Download it first or pick a model that is already in the cluster.

This happens even though:

  • The model is successfully downloaded.
  • It appears in the Downloaded Models dialog.
  • It was available for selection during the deployment wizard.

As a result, no agent is created.

Expected behavior

If a model is listed under Downloaded Models and can be selected during agent creation, the deployment should succeed without reporting that the model does not exist.

Additional information

This seems to indicate an inconsistency between the different components of the application:

  • The Models dialog recognizes the downloaded model.
  • The Deploy Agent wizard can enumerate and select the model.
  • The final deployment backend cannot resolve the same model and behaves as if it were never installed.

This may be another synchronization or model registration issue between the Desktop UI and the backend services.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions