Skip to content

运行报错,搜索时报错如下 #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jinman0826 opened this issue Jan 12, 2025 · 0 comments
Open

运行报错,搜索时报错如下 #285

jinman0826 opened this issue Jan 12, 2025 · 0 comments

Comments

@jinman0826
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant