Skip to content

subagent provider/id parser is dead ? provider/model not found on subagent  #8896

Closed

Description

@aptdnfapt

Description

i had this sub agent for like 4 month now and im sure i didnt made any changes .

Image

now this agent doesnt works

Image

getting this error

model id in models.json in opencode cache seems to be same as what i wrote

Image

ig recent commits messed up the id parser ? and now : and / somehow messing up the whole thing ? idk

Plugins

No response

OpenCode version

• OpenCode 1.1.23

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

ubuntu

Terminal

ssh
No response

Activity

  1. changed the title [-]subagent id hf:zai-org/GLM-4.7 for synthetic not found[/-] [+]subagent provider/id parser is dead ? provider/model not found on subagent [/+] on Jan 16, 2026
  2. rekram1-node commented on Jan 21, 2026

    @rekram1-node
    Contributor

    do opencode models synthetic and show me what u see?

    The model id cited should match that

  3. aptdnfapt commented on Jan 22, 2026

    @aptdnfapt
    ContributorAuthor

    ❯ opencode models synthetic
    synthetic/hf:deepseek-ai/DeepSeek-R1
    synthetic/hf:deepseek-ai/DeepSeek-R1-0528
    synthetic/hf:deepseek-ai/DeepSeek-V3
    synthetic/hf:deepseek-ai/DeepSeek-V3-0324
    synthetic/hf:deepseek-ai/DeepSeek-V3.1
    synthetic/hf:deepseek-ai/DeepSeek-V3.1-Terminus
    synthetic/hf:deepseek-ai/DeepSeek-V3.2
    synthetic/hf:meta-llama/Llama-3.1-405B-Instruct
    synthetic/hf:meta-llama/Llama-3.1-70B-Instruct
    synthetic/hf:meta-llama/Llama-3.1-8B-Instruct
    synthetic/hf:meta-llama/Llama-3.3-70B-Instruct
    synthetic/hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8
    synthetic/hf:meta-llama/Llama-4-Scout-17B-16E-Instruct
    synthetic/hf:MiniMaxAI/MiniMax-M2
    synthetic/hf:MiniMaxAI/MiniMax-M2.1
    synthetic/hf:moonshotai/Kimi-K2-Instruct-0905
    synthetic/hf:moonshotai/Kimi-K2-Thinking
    synthetic/hf:openai/gpt-oss-120b
    synthetic/hf:Qwen/Qwen2.5-Coder-32B-Instruct
    synthetic/hf:Qwen/Qwen3-235B-A22B-Instruct-2507
    synthetic/hf:Qwen/Qwen3-235B-A22B-Thinking-2507
    synthetic/hf:Qwen/Qwen3-Coder-480B-A35B-Instruct
    synthetic/hf:zai-org/GLM-4.5
    synthetic/hf:zai-org/GLM-4.6
    synthetic/hf:zai-org/GLM-4.7

  4. dbkblk commented on Jan 26, 2026

    @dbkblk

    I noticed the same problem with synthetic. Using it with or without "synthetic/" prefix works, but opencode still display a warning showing "invalid model" at each agent change.

  5. MandarinoMcZumo commented on Jan 28, 2026

    @MandarinoMcZumo

    It happens too whith the CLI opencode run --agent ... (Opencode 1.1.30).

    I think the error is caused by a parsing error, the exception captured adds a \n at the end of the subagent model...

    1076 |     const info = provider.models[modelID]
    1077 |     if (!info) {
    1078 |       const availableModels = Object.keys(provider.models)
    1079 |       const matches = fuzzysort.go(modelID, availableModels, { limit: 3, threshold: -10000 })
    1080 |       const suggestions = matches.map((m) => m.target)
    1081 |       throw new ModelNotFoundError({ providerID, modelID, suggestions })
                       ^
    ProviderModelNotFoundError: ProviderModelNotFoundError
     data: {
      providerID: "amazon-bedrock",
      modelID: "anthropic.claude-haiku-4-5-20251001-v1:0\n",
      suggestions: [ "anthropic.claude-haiku-4-5-20251001-v1:0" ],
    },
    
  6. aptdnfapt commented on Jan 28, 2026

    @aptdnfapt
    ContributorAuthor

    @rekram1-node should i make a pr ?

  7. rekram1-node commented on Jan 29, 2026

    @rekram1-node
    Contributor

    fixed in next release

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions