Load persona from file in repo

Aperta
#1,167 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
json, kotlin

Direzione di ricerca

Start at the application startup path and the existing persona loading and plugin-settings code. The relevant input is the repository-local .proxyai/persona/*.json folder described in the issue; no specific source files or tests are named. Done means matching files load on startup for the current repository, remain read-only in plugin settings, and do not become available as project personas for other repositories.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
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.

Lingua principale
Kotlin
Stelle
1.9k
Fork
401
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di carlrobertoh/ProxyAI

Tutte le issue di carlrobertoh/ProxyAI

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.