feat(quota): restore Claude plan detection via profile API

This commit is contained in:
Supra4E8C
2026-03-07 15:48:03 +08:00
parent 38d7e20320
commit ccf90f88dd
6 changed files with 126 additions and 12 deletions
+2
View File
@@ -156,6 +156,8 @@ export const GEMINI_CLI_GROUP_LOOKUP = new Map(
export const GEMINI_CLI_IGNORED_MODEL_PREFIXES = ['gemini-2.0-flash'];
// Claude API configuration
export const CLAUDE_PROFILE_URL = 'https://api.anthropic.com/api/oauth/profile';
export const CLAUDE_USAGE_URL = 'https://api.anthropic.com/api/oauth/usage';
export const CLAUDE_REQUEST_HEADERS = {