agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

Mobile New task fails with "model capabilities unavailable for model """ for a Standalone agent with the default model

Open AgentWrapper opened this issue 3 weeks ago • 0 comments

Reported by Prateek (relayed via the AO session standalone-39) on 2026-11-08 while filming the remote-machines launch video.

On the iPhone (new native mobile design, TestFlight): Workers → compose (New task) → machine MacBook → project Standalone agent → default model → send. A red error appeared: Spawn: model capabilities unavailable for model "". Picking Opus 5.5 in the model menu didn't clear it. Switching the project to agent-orchestrator (same machine, same prompt) worked. Around 11:37:20 UTC.

Expected: a standalone task with the default model starts, as it does for a project.

Screenshot: mobile-new-task-empty-model-error.png (reporter's machine); recording take4-work-across-part1.mov, 0–35 s.


Agent-collected evidence

Collected 2026-11-08 from main at 43599f1c88. The phone's build and the MacBook's AO version weren't checked; the MacBook was not accessible from this session, so its model catalog could not be read.

  • The exact message (no : catalog is stale suffix) is produced only at backend/internal/session_manager/manager.go:1778 (%w for model %q). Reaching it requires a non-empty effort, an empty model ID after if modelID == "" { … item.IsDefault … } (so the catalog had no IsDefault entry), and no listed model selected.
  • The phone sends an effort even when no model is chosen. In packages/mobile/app/spawn.tsx:184-196, with no project detail (Standalone agent) and no catalog default, effortModel falls back to defaultEffortModel() (the first Opus with effort levels), withFallbackEffort checks Medium, and because that model names no defaultEffort, chosenEffort is sent while model stays undefined (modelOverride(displayedModel, false)).
  • In a project the project config pins a worker model, so displayedModel is non-empty and a model is sent, which is consistent with agent-orchestrator working.
  • For comparison, this Mac mini's (0.14.11-nightly.202611071807) Claude Code catalog (GET /api/v1/agents/claude-code/models) lists opus with isDefault: true, so the server resolves "" → opus → Opus 5.5 and the same request would pass here. The failure needs a catalog with no default, as the MacBook's apparently had.
  • Hypothesis, unconfirmed: why picking Opus 5.5 still failed. If the row picked was the default row (__auto__, spawnModel.ts menuModels), it sends no model either.

Related, not duplicates: #7024 (explicit models rejected by the Claude catalog check for custom providers), #5679 (Codex off-catalog model + effort), PR #7156 (lets the CLI validate a model when no effort is set; this case has an effort).

AgentWrapper avatar Nov 08 '26 11:11 AgentWrapper