Coach: ein API-Key gilt fuer die ganze Instanz, Warm-ups zaehlen nicht, Retries bei 429/5xx, sichtbare Admin-Felder
- Instanz-Modus: nur eine persoenliche Anmeldung (Setup-Token/OAuth) bindet sich an das erste Profil, ein API-Key ist gemessen und wird von allen Profilen unter den Tageslimits geteilt. Die Bindung passiert jetzt wirklich beim Einreihen eines Jobs (jobs.enqueue), vorher gab es sie nur in den Tests. - HTTP-Adapter: 429/500/502/503/504/529 werden zweimal mit kurzer Pause wiederholt, ein 4xx nie. retryDelayMs fuer Tests. - Payload: Warm-up-Saetze wie in progression.js aus readSession/stalls, done/planned, Top-Satz, setsByBodyPart und workingWeights herausgefiltert; in vollen Sessions als warmup:true markiert, common.md sagt dem Modell, was das ist. - Admin-Karte: .field im Card hat jetzt eine sichtbare Flaeche, die Limit-Zahlenfelder sind echte Felder statt weisser Browser-Boxen; Text zu 'Whose account pays' unterscheidet API-Key und persoenliche Anmeldung. - Neuer Test e2e-apikey: Key ueber die Admin-Routen einlegen, Modelle listen, Review durch die echte Queue gegen einen lokalen Anthropic/OpenAI/Gemini-Stand-in, inkl. Header, Cache-Block, Schema, Retry und Auth-Fehler. api 150, frontend 1029, mcp 45 gruen.
This commit is contained in:
1 parent
63cf1deaed
commit
02c75b320d
14 files changed
+311
-35
No files matched your search
@@ -273,9 +273,11 @@ export default function AdminCoach() {
|
||||
<div className="adm-group-t" style={{ marginTop: 14 }}>Whose account pays</div>
|
||||
<div className="adm-hint">{d.authMode === 'profile'
|
||||
? 'Each profile signs in with their own account.'
|
||||
: d.boundUid
|
||||
? 'One shared account, already in use by one profile. Every other profile is refused, so nobody spends somebody else\'s subscription.'
|
||||
: 'One shared account. The first profile to use it becomes the only one allowed to — every other profile is then refused.'}</div>
|
||||
: d.auth?.type === 'apikey' || meta.http
|
||||
? 'One API key for the whole instance: every profile may use the Coach with it, and the daily limits above are what bound the spend.'
|
||||
: d.boundUid
|
||||
? 'One personal account, already in use by one profile. Every other profile is refused, so nobody spends somebody else\'s subscription.'
|
||||
: 'One personal account. The first profile to use it becomes the only one allowed to — every other profile is then refused. Paste an API key instead if the whole instance should have the Coach.'}</div>
|
||||
|
||||
<div className="adm-group-t" style={{ marginTop: 14 }}>Isolation</div>
|
||||
<div className="adm-hint">{d.unprivileged && !d.unprivileged.ok
|
||||
|
||||
Reference in new issue
Block a user