github / github/app

prompt injection uses a TON of tokens.

Aperta
#1,768 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Feedback os:macos
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

prompt injection uses a TON of tokens. If I have plugins they are used globally, and as such they're injected into every prompt. It means if I'm using local models (or heck even just doing API cost) theres a ton of tokens I don't always need. We need a way to tie plugins to sessions, or specific workflows. A way to enable or disable them situationally instead of just globally. A local model can NEVER be used with this app unless it has minimum 64k context window, but 128k is better. Even with that, session length must be kept short so as not to overwhelm the models.

---
| Field | Value |
| --- | --- |
| App version | 1.0.17 |
| OS | macOS 26.5.2 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 14 |

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at the /chat entry point and trace how plugins are included in prompts and how sessions or workflows are represented. Define how plugins can be enabled or disabled per session or workflow, then verify that unused plugins are excluded from prompts and that the chat still works with shorter model context windows.

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

Valutazione

Ambito
ai, desktop
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.