agentscope-ai / agentscope-ai/agentscope-java
[Bug]:使用DistributedStore的方式,数据库中的agentscope_sessions中的state_data字段会一直叠加
Open
area/core/memory
bug
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.3k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 77
Description
**AgentScope-Java is an open-source project. To involve a broader community, we recommend asking your questions in English.**
**Describe the bug**
A clear and concise description of what the bug is.
使用DistributedStore的方式,数据库中的agentscope_sessions中的state_data字段会一直叠加。虽然数据库选择了text字段,但是随着同一个调用的次数增加,总有数据库存不下的情况。
修复建议
1,提供字段设置,对于会话能最大保存的条数。
2,底层提供方式,由接入系统自行处理何时来处理清理。
Contributor guide
Assessment
This issue has not been assessed yet.