Skip to content

[Bug]: 2.0.0 RC2目前是不是还不能用作真实的生产项目 #1704

@ld555

Description

@ld555

我测了2天,write_file写入 project项目 会自动拼接 project目录/username/project目录,file_list的时候,又不拼接了。 技能加载会调用各种文件工具,最后还没加载正确。

最基本的文件操作和skill调用都跑不通呢。

HarnessAgent.Builder builder = HarnessAgent.builder();
builder.name("Agent");
builder.model(modelConfig.getModel("deepseek"));
builder.workspace(Paths.get("/working/workspace"));
builder.stateStore(RedisAgentStateStore.builder().jedisClient(jedisPooled).build());
builder.filesystem(new LocalFilesystemSpec().projectWritable(true).inheritEnv(true).mode(LocalFsMode.ROOTED).project(Paths.get("/working/project")));
return builder.build();

RuntimeContext ctx = RuntimeContext.builder()
.sessionId(sessionId)
.userId(username)
.build();

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions