The ExecutionAction class doesn't take any plugins in its constructor
@Li-john1021 đang làm issue này rồi.
Từ ngày 14/10/2026.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Kiểm tra MindSearchAgent, WebSearchGraph, SearcherAgent và phần khởi tạo được kế thừa của StreamingAgentForInternLM. Trước tiên, hãy lần theo nơi plugin_executor và interpreter_executor được mong đợi, rồi tái hiện cảnh báo được mô tả tại dòng 99 của stream.py. Hoàn thành khi planner có thể xây dựng và thực thi search graph mà không có cảnh báo executor không phù hợp, trong khi các instance của SearcherAgent vẫn giữ hỗ trợ plugin.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 7k
- Fork
- 684
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InternLM/MindSearch
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
InternLM/MindSearch#326 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
InternLM/MindSearch#315 ·
-
问答只回复一次,没有完整推理搜索回复Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
InternLM/MindSearch#312 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
InternLM/MindSearch#311 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
InternLM/MindSearch#310 ·
Tất cả issue của InternLM/MindSearch
Issue tương tự
-
area/frontend good first issue topic/intents
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:oci/devguard-documen...ch=amd64&tag=main-amd64 risk:low state:open
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
l3montree-dev/devguard-documentation#396 · 1 bình luận ·
-
enhancement status/needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
WhiteBr1ck/agy-powertools#361 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
avniproject/avni-webapp#1861 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
avniproject/avni-client#2268 ·