Skip to content

(bug) Model picker allows invalid harness/model/auth combinations without validation #5786

Description

@mmabrouk

Symptom. In the agent model picker, choosing the Pi harness with the Claude Haiku model and subscription auth saves without any warning. Every run against that saved configuration then fails at runtime with "model not available" — the user has a config that looks valid in the UI and only discovers it's broken when they try to use it.

Cause, where known. There is no validation at selection/save time that cross-checks harness + model + auth-mode compatibility. The picker lets you compose combinations that the backend cannot actually run, and the failure only surfaces later, on the first live run, with a message that doesn't point back at the picker choice that caused it.

Steps to reproduce.

  1. Open an agent's config in the playground.
  2. In the harness selector, choose Pi.
  3. In the model selector, choose Claude Haiku, with subscription ("use your own login") auth.
  4. Save the configuration. No error or warning appears; the save succeeds.
  5. Run the agent (send any message).

Actual: the run fails with "model not available".
Expected: either the picker disallows/flags this combination before it can be saved, or the run-time error names the actual mismatch (harness/model/auth) so the user can fix it without guessing.

Severity: High — the config silently passes validation and only fails downstream, and the failure message gives no path back to the cause.

Found during the agent-config-editing QA campaign; pre-existing on main (not specific to the agent-config-editing feature).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions