Skip to content

Conflicting home directories .config/PAI-Pi and .pi/agent #1015

@henkwerner

Description

@henkwerner

The Pi INSTALL.md (at https://github.com/danielmiessler/Personal_AI_Infrastructure/blob/main/Releases/Pi/INSTALL.md) states that the scaffold has home directory .config/PAI-Pi. This is also reflected in other documents, such as the extensions/pai-core/index.ts.

However:
The install command npm install -g @mariozechner/pi-coding-agent (which leads to cat "/opt/homebrew/lib/node_modules/@mariozechner/pi-coding-agent/README.md") sets .pi/agent as the home directory.

Because of this, Pi is unable to find any of the system files. I had to move the models.json to .pi/agent to enable llama-server to find it.
Pi has no identity until it reads the system files at launch.

So, which one is it?

  1. Should I move all my files from .config/PAI-Pi to .pi/agent? This would mean I cannot use any template from the repository without editing every mention of the home directory.
  2. Or should I reprogram my Pi to look at .config/PAI-Pi at loading?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions