`agent_memory` list index out of range
@cyyecao-lappland is already working on this.
Since Aug 20, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
Research direction
Start by reproducing the failure with the server and Streamlit commands in the issue, then inspect _generate_references_from_graph in mindsearch/agent/mindsearch_agent.py and the traceback's agent.memory data. Done means the query completes without the list index error and reference generation handles the observed memory contents.
Written by the indexing model from the issue text.
Description
Steps to reproduce
Launch server:
python -m mindsearch.app --lang en --model_format gpt4 --search_engine DuckDuckGoSearch --asy
Launch streamlit:
streamlit run frontend/mindsearch_streamlit.py
Type in a query and get this error:
Traceback (most recent call last):
File "/Users/cxrh/Documents/GitHub/MindSearch/mindsearch/app.py", line 142, in generate
async for message in agent(inputs, session_id=session_id):
File "/Users/cxrh/Documents/GitHub/MindSearch/mindsearch/agent/streaming.py", line 50, in __call__
async for response_message in self.forward(*message, session_id=session_id, **kwargs):
File "/Users/cxrh/Documents/GitHub/MindSearch/mindsearch/agent/mindsearch_agent.py", line 189, in forward
reference, references_url = _generate_references_from_graph(gen.ret[1])
File "/Users/cxrh/Documents/GitHub/MindSearch/mindsearch/agent/mindsearch_agent.py", line 41, in _generate_references_from_graph
assert data_item["memory"]["agent.memory"][2]["sender"].endswith("ActionExecutor")
IndexError: list index out of range
- Dominant language
- JavaScript
- Stars
- 7k
- Forks
- 684
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InternLM/MindSearch
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
InternLM/MindSearch#326 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
InternLM/MindSearch#315 ·
-
问答只回复一次,没有完整推理搜索回复Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
InternLM/MindSearch#312 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
InternLM/MindSearch#311 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
InternLM/MindSearch#310 ·
All issues in InternLM/MindSearch
Similar issues
-
area/frontend good first issue topic/intents
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
avniproject/avni-client#2268 ·
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's filePossibly taken @Beehtrix claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#907 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
we-promise/sure#6115 ·
Maintainers usually reply within 1 day
-
withImplementation leaves the temporary mock installed when its callback throws or rejectsPossibly taken @Cynnamoroll claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 10 days