agentscope-ai / agentscope-ai/agentscope
[Bug]:short_term_memory_example报错ReMeShortTermMemory.get_memory() got an unexpected keyword argument 'exclude_mark'
- Ngôn ngữ chính
- Python
- Star
- 31.5k
- Fork
- 3.5k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 95
Mô tả
正常运行short_term_memory_example.py报错如下内容:
`
2026-04-03 11:04:42.655 | WARNING | flowllm.core.vector_store.memory_vector_store::29 - fcntl module not available (Windows). File locking will be disabled.
2026-04-03 11:04:42.850 | INFO | flowllm.core.utils.common_utils:load_env:123 - load env_path=..\..\..\..\.env
2026-04-03 11:04:42.885 | INFO | flowllm.core.utils.pydantic_config_parser:parse_args:342 - load config=D:\anaconda3\envs\agentscope\lib\site-packages\reme_ai\config\default.yaml
Traceback (most recent call last):
File "E:\Academic code\agentscope-main\examples\functionality\short_term_memory\reme\short_term_memory_example.py", line 188, in
asyncio.run(main())
File "D:\anaconda3\envs\agentscope\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\anaconda3\envs\agentscope\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "E:\Academic code\agentscope-main\examples\functionality\short_term_memory\reme\short_term_memory_example.py", line 183, in main
msg = await agent(msg)
File "E:\Academic code\agentscope\src\agentscope\agent\_agent_base.py", line 455, in __call__
reply_msg = await self.reply(*args, **kwargs)
File "E:\Academic code\agentscope\src\agentscope\agent\_agent_meta.py", line 120, in async_wrapper
current_output = await original_func(
File "E:\Academic code\agentscope\src\agentscope\tracing\_trace.py", line 390, in wrapper
return await func(self, *args, **kwargs)
File "E:\Academic code\agentscope\src\agentscope\agent\_react_agent.py", line 437, in reply
msg_reasoning = await self._reasoning(tool_choice)
File "E:\Academic code\agentscope\src\agentscope\agent\_agent_meta.py", line 120, in async_wrapper
current_output = await original_func(
File "E:\Academic code\agentscope\src\agentscope\agent\_react_agent.py", line 557, in _reasoning
*await self.memory.get_memory(
TypeError: ReMeShortTermMemory.get_memory() got an unexpected keyword argument 'exclude_mark'
`
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.