The ExecutionAction class doesn't take any plugins in its constructor
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.
0 条评论