Skip to content

Replace roles.yaml with roles/<name>.md #804

@sigoden

Description

@sigoden

Instead of using a central roles.yaml file to store all the roles, we can use a dedicated roles folder. Each file within this folder would represent a single role, with the filename corresponding to the role's name.

Benefits

  • Create/Edit a single role within the REPL
  • Load on demand, resulting in less memory usage

REPL

  • .role <name>: Create a new role if one doesn't exist
  • .edit role: Edit the current role
  • .save role: Save the current role to file

Options

---
model: openai:gpt-4
temperature: 0
top_p: 0
...
---

Your are a ...

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