Skip to content

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

Description

@TianyuGeek001

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,此种方式不应该生成本地会话文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/harnessagentscope-harness (test/runtime support)bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions