The ExecutionAction class doesn't take any plugins in its constructor
@Li-john1021 がすでに取り組んでいます。
2026年10月14日 から。
評価
調査の方向性
MindSearchAgent、WebSearchGraph、SearcherAgent、および継承元である StreamingAgentForInternLM の初期化を調査してください。まず plugin_executor と interpreter_executor がどこで想定されているかを追跡し、stream.py の 99 行目で説明されている warning を再現してください。完了条件は、planner が不適切な executor warning なしに search graph を構築して実行でき、SearcherAgent インスタンスが plugin のサポートを保持していることです。
索引モデルが issue の本文から書いたものです。
説明
The ExecutionAction class doesn't take any plugins in its constructor - it's just a simple action that executes Python code. The actual search functionality happens in the SearcherAgent instances that are created within the WebSearchGraph.
The problem is that the SearcherAgent instances are created with the searcher_cfg configuration, and they should have the plugins. Let me check how the SearcherAgent is initialized:
Looking at the code, I can see that:
MindSearchAgent sets WebSearchGraph.SEARCHER_CONFIG = searcher_cfg
WebSearchGraph creates SearcherAgent instances using this config
The SearcherAgent should inherit from StreamingAgentForInternLM which should have plugin support
The issue is that the warning is coming from the main MindSearchAgent, not the SearcherAgent instances. The MindSearchAgent itself doesn't need plugins - it just needs to create the graph execution code.Looking at the StreamingAgentForInternLM class, I can see that it expects to have plugin_executor and interpreter_executor attributes, but the MindSearchAgent doesn't initialize them.
The warning comes from line 99 in /home/augment-agent/.local/lib/python3.10/site-packages/lagent/agents/stream.py which checks if these executors are initialized.
The MindSearchAgent is supposed to be a planner that generates Python code to create search graphs, not directly execute plugins. However, the base class StreamingAgentForInternLM expects plugin executors to be available.
Let me check what the original working version does. The issue is that the MindSearchAgent inherits from StreamingAgentForInternLM but doesn't properly initialize the plugin and interpreter executors.
Looking at the code, I can see that the MindSearchAgent should not be calling plugins directly - it should be generating code that creates WebSearchGraph instances, which then create SearcherAgent instances that have the plugins.
- 主要言語
- JavaScript
- スター
- 7k
- フォーク
- 684
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
InternLM/MindSearch のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
InternLM/MindSearch#326 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
InternLM/MindSearch#315 ·
-
问答只回复一次,没有完整推理搜索回复オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
InternLM/MindSearch#312 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
InternLM/MindSearch#311 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
InternLM/MindSearch#310 ·
InternLM/MindSearch の issue をすべて見る
似ている issue
-
area/frontend good first issue topic/intents
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
メンテナーはふだん 1 日以内に返信
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:oci/devguard-documen...ch=amd64&tag=main-amd64 risk:low state:open
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
l3montree-dev/devguard-documentation#396 · コメント 1 件 ·
-
enhancement status/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
WhiteBr1ck/agy-powertools#361 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
avniproject/avni-webapp#1861 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
avniproject/avni-client#2268 ·