Key-Scanner: Auth-Header fix, 401-mit-Usage-Handling, breitere Suche, Live-Refresh
- AnthropicKeyChecker: Bearer-Auth + CLI-Header statt x-api-key (identisch mit AnthropicService) - 401 mit Usage-Headern → 'usage_limited' statt 'invalid' (Key gültig, Limit erreicht) - Haiku-Phase entfernt, Streaming-Logik entfernt → ein einfacher Request reicht - KeyScannerService: SearchLanguages 1→13, PathExtensions 24 neue Pfad-Filter - ApiKeysEndpoint: usage_limited als 'ok' ans Frontend - Frontend: Adopt-Button auch bei quota_exceeded, Live-Refresh alle 3s während Scan - CSS: Overflow-Ellipsis für lange URLs in Admin-Listen
This commit is contained in:
1 parent
006ef223bf
commit
608118a823
5 files changed
+55
-15
No files matched your search
@@ -211,7 +211,7 @@ public static class ApiKeysEndpoint
|
||||
|
||||
await ctx.Response.WriteAsJsonAsync(new
|
||||
{
|
||||
status = result.Status == "ok" ? "ok" : "error",
|
||||
status = (result.Status == "ok" || result.Status == "usage_limited") ? "ok" : "error",
|
||||
message = result.Message,
|
||||
keyType = result.Plan,
|
||||
result.IsSubscription,
|
||||
|
||||
Reference in new issue
Block a user