agentscope-ai / agentscope-ai/agentscope-java

[Bug]:使用DistributedStore和filesystem仍然本地会创建.agentscope/workspace/.index/workerspace.db和alice文件

Đang mở
#2,182 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area/harness bug
Ngôn ngữ chính
Java
Star
5.6k
Fork
1.3k
Merge trung bình
4 ngày 12 giờ
Pull request đã merge (30 ngày)
77

Mô tả

**Describe the bug**
```
DistributedStore store = DistributedStore.builder()
.agentStateStore(PostgresAgentStateStore.builder(ds).build())
.baseStore(PostgresBaseV1Store.builder(ds).build())
.build();
HarnessAgent agent = HarnessAgent.builder()
.name("note-taker")
.sysPrompt("你是一个智能客服助手。")
.distributedStore(store)
.filesystem(new RemoteFilesystemSpec()
.isolationScope(IsolationScope.USER)
)
.model(chatModel)
.enablePendingToolRecovery(true)
.filesystem(new RemoteFilesystemSpec()
.isolationScope(IsolationScope.USER))
.compaction(CompactionConfig.builder()
.triggerMessages(8)
.keepMessages(3)
.build())
.build();
```
使用DistributedStore和filesystem仍然本地会创建.agentscope/workspace/.index/workerspace.db和会话文件xxx.jsonl和xx.log.jsonl
修复建议:对于云端部署,此种方式不太适合本地缓存,会导致服务器端文件越来越大。
1,本地缓存是否考虑采用其他方式?
2,此种方式不应该生成本地会话文件。

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.