Should fix #751 by adding verbose error message.

This commit is contained in:
Kevin Alwell
2025-04-30 14:55:15 -04:00
parent 841e19b05d
commit 6e7d4a4b45

View File

@@ -1137,7 +1137,7 @@ export class AgentLoop {
content: [
{
type: "input_text",
text: "⚠️ Insufficient quota. Please check your billing details and retry.",
text: `\u26a0 Insufficient quota: ${err instanceof Error && err.message ? err.message.trim() : "No remaining quota."} Manage or purchase credits at https://platform.openai.com/account/billing.`,
},
],
});