The ExecutionAction class doesn't take any plugins in its constructor
@Li-john1021 ci sta già lavorando.
Dal 14/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Ispeziona MindSearchAgent, WebSearchGraph, SearcherAgent e l'inizializzazione ereditata di StreamingAgentForInternLM. Inizia tracciando dove sono previsti plugin_executor e interpreter_executor e riproduci l'avviso descritto alla riga 99 di stream.py. Il lavoro è completato quando il planner può costruire ed eseguire il grafo di ricerca senza un avviso inappropriato relativo all'executor, mentre le istanze di SearcherAgent mantengono il supporto per i plugin.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 7k
- Fork
- 684
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InternLM/MindSearch
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
InternLM/MindSearch#326 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
InternLM/MindSearch#315 ·
-
问答只回复一次,没有完整推理搜索回复Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
InternLM/MindSearch#312 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
InternLM/MindSearch#311 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
InternLM/MindSearch#310 ·
Tutte le issue di InternLM/MindSearch
Issue simili
-
area/frontend good first issue topic/intents
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
I maintainer di solito rispondono entro 1 giorno
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:oci/devguard-documen...ch=amd64&tag=main-amd64 risk:low state:open
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
l3montree-dev/devguard-documentation#396 · 1 commento ·
-
enhancement status/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
WhiteBr1ck/agy-powertools#361 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
avniproject/avni-webapp#1861 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
avniproject/avni-client#2268 ·