mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 09:07:46 +02:00
Use accurate credential retry copy and monetary typography
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
7d7e66d5da
commit
9390b17ef6
2 files changed
+2
-2
No files matched your search
@@ -869,7 +869,7 @@ export function aiConnectionService(db: Db) {
|
||||
for (let depth = 0; depth < 4 && current && typeof current === "object"; depth += 1) {
|
||||
const value = current as { code?: unknown; cause?: unknown };
|
||||
if (value.code === WORKSPACE_RESTORE_LOCK_TIMEOUT_CODE || value.code === "55P03") {
|
||||
throw unprocessable("AI credentials are being updated. This execution will retry automatically.", { code: "ai_connection_busy" });
|
||||
throw unprocessable("AI credentials are being updated. Retry shortly.", { code: "ai_connection_busy" });
|
||||
}
|
||||
current = value.cause;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ export function AccountQuotaPanels({
|
||||
<div key={`${window.label}:${index}`} className="space-y-1 text-sm">
|
||||
<div className="flex justify-between gap-3">
|
||||
<span>{window.label}</span>
|
||||
<span className="text-muted-foreground">{window.valueLabel ?? "Usage not reported"}</span>
|
||||
<span className="font-mono text-muted-foreground">{window.valueLabel ?? "Usage not reported"}</span>
|
||||
</div>
|
||||
{window.resetsAt && <p className="text-xs font-mono text-muted-foreground">Resets {formatDateTime(window.resetsAt)}</p>}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user