Skip to content

Load persona from file in repo #1167

@stracker-phil

Description

@stracker-phil

Describe the need of your request

Every project is slightly different and we want to reflect this in the persona - it defines project-level rules and guidance.

Current problem: Personas and prompts are global. We have to import all personas for all projects and make sure to select the correct persona before using ProxyAI.

Also, it's easy for devs to get out of sync, as we cannot commit the persona to the repo and people do not know if their persona is still up-to-date

Proposed solution

Add support for a .proxyai config folder that can be git controlled.

All .proxyai/persona/*.json files are loaded on app start and available as read-only Personas for the current project (they cannot be edited or deleted in the plugin settings, as they are always loaded from the file)

Additional context

The goal is to add personas to a repo, and every developer using that repo has the "shared persona" available, and those personas do not spill over to other projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions