Skip to content

Subagents broken due to "OpenCode's free tier can only be used from within OpenCode" #50516

Closed as duplicate

Description

@Sshmoob

Description

Image Title. Because they get this error every time they try to use a subagent, it makes the subagent feature useless entirely. This is extra unfortunate because you guys gave Mimi 2.6 flash free only a 200K context window, so when it has to do all of what it would have otherwise delegated to subagents, compactions begin stacking up pretty quickly. And for you guys, I'm sure that also means it breaks the cache a lot more than it needs to.

Plugins

None

OpenCode version

2.0.12

Steps to reproduce

  1. Include in your agents.md or similar document info about subagents (I started from what was said in the meta.md prompt and it seemed to work well) if the system prompt doesn't include it already. That is true for models that get the default.md prompt, like Mimo 2.6 flash, which is why I mention it here.
  2. Give the agent a task niche enough to where it wants to search through stuff using subagents (in the example above, I told it to make a file manager in gpui) or just explicitly tell it to try and spawn a subagent.
  3. When it tries, the subagent will immediately fail due to this error...

Screenshot and/or share link

Image Image

Operating System

Linux 7.2.6-zen2-1-zen (Arch)

Terminal

Screenshots are on desktop app

Activity

  1. github-actions commented on Sep 22, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. Sshmoob commented on Sep 22, 2026

    @Sshmoob
    Author

    Seems to be a dupe of #49723 specifically

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