Subagent tool’s model-parameter instruction conflicts with model routing defined in AGENTS.md
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by locating the subagent tool definition and tracing how its model parameter instructions are presented to the parent agent. Compare that behavior with how AGENTS.md instructions are handled during delegation, then check related tests for model selection. Done means an explicit model-routing instruction can guide delegation as intended; the issue does not identify specific files or a reliable reproduction, so first map the relevant code and tests.
索引モデルが issue の本文から書いたものです。
説明
Description
The subagent tool available in my session describes its model parameter as:
NEVER set this unless the user explicitly asks for a particular model or variant.
My global AGENTS.md defines a model-routing matrix and explicitly instructs
the parent agent to select a model from that matrix and pass it in
subagent.model for every delegation.
The parent agent treated the tool description as a higher-priority restriction
and left model unset, despite the instructions in AGENTS.md.
This drives me insane, sometimes even direct request to use predefined configuration is not enough to override this stupid behaviour.
Plugins
None
OpenCode version
2.2.6
Steps to reproduce
I'm not sure how to do it reliably, but i'm using it with OpenAI/ChatGPT (mainly 5.6 Terra) and have orchestrator role which decline's to spawn subagents with other model withut explicitly threatening it.
Screenshot
No response
Operating System
Fedora 44
Terminal
OpenCode Desktop App
- 主要言語
- TypeScript
- スター
- 225k
- フォーク
- 30.4k
- 平均マージ
- 4時間 16分
- マージ済み PR(30日)
- 528
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anomalyco/opencode のほかの issue
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
anomalyco/opencode#62873 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#62822 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anomalyco/opencode#62601 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#62516 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anomalyco/opencode#62374 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
anomalyco/opencode の issue をすべて見る
似ている issue
-
code-quality good-first-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenRailAssociation/netzgrafik-editor-frontend#1481 ·
メンテナーはふだん 1 日以内に返信
-
🙌 icon request
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
lucide-icons/lucide#5183 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
cloudflare/capnweb#293 ·
メンテナーはふだん 2 日以内に返信
-
bug implicit-state
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
area:models enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信