Skip to content

[Bug]: orchestrator_capabilities doesn't mark which listed models are favorites #44566

Done

Description

@Comprehensive-Jason

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Favorite two or three models from a large catalog provider (OpenCode via OpenRouter), for example openrouter/~z-ai/glm-flash-latest.
  2. In a thread, ask the agent to delegate a task to "one of my favorite models".
  3. Look at the agent's orchestrator_capabilities call and the model it picks.

Expected behavior

The agent can tell which listed models are the user's favorites, so "my favorite models" means the same set in every session.

Actual behavior

orchestrator_capabilities lists favorites, but nothing marks them as favorites. In listCapabilityModels, isPinned treats custom models, the caller's inherited model, and favorites the same way (OrchestratorMcpService.ts). The short list then fills up with other non-legacy models. Each model comes back as only { id, label?, options? }.

One real response listed 13 OpenCode models. Six were favorites. The other seven (several Aion models and Abliterated variants) were not, and the response gives no way to tell the two groups apart. So each session guesses: some take the first few entries, some take the provider's newest models, and some pick a model that merely looks familiar.

Impact

Minor bug or occasional failure

Version or commit

v0.1.13 (also present on main @ ae8c3c8)

Environment

Windows 11 desktop app and a Linux headless server, both connected; Claude and OpenCode providers

Workaround

Tell the agent to read favorites from ~/.t3/userdata/settings.json on the target environment and not to infer favorites from the capability listing.

Suggested fix

Add a flag to each listed model, e.g. favorite: true (or pinned: "favorite" | "custom" | "inherited"), and describe it in the tool description. This would also help with #39072, where OpenRouter ~…-latest aliases only appear in the short list because they are favorited.

Activity

  1. Comprehensive-Jason commented on Nov 28, 2026

    @Comprehensive-Jason
    Author

    Another use case: the council skill in t3dotgg/tstack already resolves its delegates through orchestrator_capabilities. Today it either uses members the user names or guesses "the latest flagship model from each provider". If the response marked favorites, the skill (or the user) could say "use my favorite models as the council". Keeping the council current as new models ship would then mean updating T3 favorites, not editing the skill or the prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions