Skip to content

[Bug]: createDeepAgent Code is wrong? #42

@Antony-Jia

Description

@Antony-Jia

Description

A clear and concise description of what the bug is.

the code in openwork/src/main/agent/runtime.ts just like:

  const agent = createDeepAgent({
    model,
    checkpointer,
    backend,
    systemPrompt,
    // Custom filesystem prompt for absolute paths (requires deepagents update)
    filesystemSystemPrompt,
    // Require human approval for all shell commands
    interruptOn: { execute: true }
  } as Parameters<typeof createDeepAgent>[0])

but the filesystemSystemPrompt is not param.

And it means createFilesystemMiddleware({ filesystemSystemPrompt}) ?

Steps to Reproduce

prompt not work

Expected Behavior

prompt not work

Actual Behavior

prompt not work

Environment

  • OS: Windows 10
  • openwork version: 0.1.4
  • Node.js version: 20.10.0
  • Installation method: npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions