MindSearch icon indicating copy to clipboard operation
MindSearch copied to clipboard

TypeError: 'NoneType' object is not subscriptable

Open hjs0808 opened this issue 1 year ago • 6 comments

This problem always occurs, and when it does, the front-end does not respond, and sometimes it is normal and sometimes it reports an error How should I solve it !!!!

error messages: 2024-11-19 11:16:03,616 - app.py[line:72] - ERROR: Exception in sync_generator_wrapper: 'NoneType' object is not subscriptable Traceback (most recent call last): File "/home/model/ms/mindsearch/app.py", line 69, in sync_generator_wrapper for response in agent.stream_chat(inputs): File "/home/model/ms/mindsearch/agent/mindsearch_agent.py", line 237, in stream_chat yield from self._process_code(agent_return, inner_history, File "/home/model/ms/mindsearch/agent/mindsearch_agent.py", line 284, in _process_code reference, references_url = self._generate_reference( File "/home/model/ms/mindsearch/agent/mindsearch_agent.py", line 315, in _generate_reference ref_results = agent_return.nodes[node_name]['detail'].actions[ TypeError: 'NoneType' object is not subscriptable

hjs0808 avatar Nov 19 '24 03:11 hjs0808

please use latest version

Harold-lkk avatar Nov 19 '24 03:11 Harold-lkk

please use latest version

it works , thanks, but I have another question, the react web interface doesn't seem to be responding, What shall I do?

hjs0808 avatar Nov 19 '24 09:11 hjs0808

please use latest version

streamlit is normal

hjs0808 avatar Nov 19 '24 09:11 hjs0808

image

Harold-lkk avatar Nov 19 '24 11:11 Harold-lkk

image image

Thank you, it started working successfully, but there were two errors when i was use. Is this mistake serious? How should I solve this problem

hjs0808 avatar Nov 20 '24 09:11 hjs0808

Have you checked if there's any syntax error in the code block from the planner's response? Most errors above are caused by its coding capability.

braisedpork1964 avatar Nov 22 '24 04:11 braisedpork1964