Allow `-max-ai-credits=0` when using local models
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Describe the feature or problem you'd like to solve
I'd like to be able to use local models with `/remote` without the possibility of accidentally using credits in that session
### Proposed solution
Remote the validation on `-max-ai-credits` that requires that it is >= 30.
### Example prompts or workflows
_No response_
### Additional context
The limit of 30 seems totally arbitrary, and when using a local model it doesn't mean anything. When testing with local models, it would be nice to know for sure that we can't accidentally use credits.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Validierung für die Option `-max-ai-credits` und den Code zu finden, der lokale Modelle identifiziert, wenn `/remote` verwendet wird. Bestätige das aktuelle Minimum von 30 und überprüfe anschließend, dass ein Wert von 0 für den Workflow mit lokalen Modellen akzeptiert wird und dass die Sitzung nicht unerwartet Credits verwenden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 64/100