diegosouzapw/OmniRoute · error · Error
Failed to fetch GitHub usage: ${error.message}
Error message
Failed to fetch GitHub usage: ${error.message} What it means
Error "Failed to fetch GitHub usage: ${error.message}" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/usage/fetcher.ts:121
resetDate: data.limited_user_reset_date,
quotas: {
chat: {
used: usedQuotas.chat || 0,
total: monthlyQuotas.chat || 0,
unlimited: false,
},
completions: {
used: usedQuotas.completions || 0,
total: monthlyQuotas.completions || 0,
unlimited: false,
},
},
};
}
return { message: "GitHub Copilot connected. Unable to parse quota data." };
} catch (error) {
throw new Error(`Failed to fetch GitHub usage: ${error.message}`);
}
}
function formatGitHubQuotaSnapshot(quota) {
if (!quota) return { used: 0, total: 0, unlimited: true };
return {
used: quota.entitlement - quota.remaining,
total: quota.entitlement,
remaining: quota.remaining,
unlimited: quota.unlimited || false,
};
}
/**
* Proactive credit balance probe for Antigravity.
*
* Fires a minimal streamGenerateContent request with GOOGLE_ONE_AI credits enabledView on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/usage/fetcher.ts:121 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/dba5250859284af8.
Report an issue: GitHub.