Skip to content

[Bug]: Hermes does not map current directory into docker backend automatically. #1445

@Readon

Description

@Readon

Bug Description

It is said that hermes would use current dir as working dir, but when I use docker as backend, there are nothing inside /workspace directory. I need to modify the ~/.hermes/config.yaml file each time. This is not convenient at all.

Steps to Reproduce

  1. cd xxx dir
  2. hermes
  3. send "check what is in /workspace"
  4. response "nothing"

Expected Behavior

response "xxx" dir

Actual Behavior

response "nothing"

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Operating System

Ubuntu 22.04

Python Version

3.11.9

Hermes Version

v0.2.0

Relevant Logs / Traceback

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions