运行报错,搜索时报错如下
还没有人认领这个 Issue。
评估
调研方向
从 mindsearch/agent/graph.py 第 263 行开始,跟踪到达 WebSearchGraph.add_edge 的生成命令;将使用 endNode 参数的调用与方法定义进行比较。复现报告的搜索失败,并确认搜索路径在没有此 TypeError 的情况下完成。
由索引模型根据 Issue 内容生成。
描述
ERROR:root:Exception in sync_generator_wrapper: WebSearchGraph.add_edge() got an unexpected keyword argument 'endNode'
Traceback (most recent call last):
File "/Users/jiaoshoudu/development/MindSearch/mindsearch/app.py", line 90, in sync_generator_wrapper
for response in agent(inputs, session_id=session_id):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jiaoshoudu/development/MindSearch/mindsearch/agent/streaming.py", line 19, in call
for response_message in self.forward(*message, session_id=session_id, **kwargs):
File "/Users/jiaoshoudu/development/MindSearch/mindsearch/agent/mindsearch_agent.py", line 105, in forward
for graph_exec in gen:
File "/opt/anaconda3/envs/py3/lib/python3.12/site-packages/lagent/utils/util.py", line 138, in iter
self.ret = yield from self.generator
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jiaoshoudu/development/MindSearch/mindsearch/agent/graph.py", line 263, in run
exec(command, global_dict, local_dict)
File "", line 28, in
TypeError: WebSearchGraph.add_edge() got an unexpected keyword argument 'endNode'
- 主要语言
- JavaScript
- 星标
- 7k
- 派生
- 684
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
InternLM/MindSearch 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 55/100
InternLM/MindSearch#326 ·
-
难度 5/5 一周以上 新手友好度 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
-
priority: medium
难度 2/5 1-3 小时 新手友好度 75/100
lapanti/lavanti.fi#1753 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 88/100
githubnext/gh-aw-workshop#6506 ·
维护者通常 1 天内回复
-
architecture-submission stage/010-actionable
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
Update resource: Wake可能已有人在做 @nloureiro 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 86/100
-
area/frontend good first issue topic/intents
难度 2/5 1-3 小时 新手友好度 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
维护者通常 1 天内回复