Update api_usage.py
Browse files- api_usage.py +0 -1
api_usage.py
CHANGED
|
@@ -357,7 +357,6 @@ async def check_key_ant_availability(key, claude_model):
|
|
| 357 |
tpm = response.headers.get('anthropic-ratelimit-tokens-limit', '')
|
| 358 |
tpm_left = response.headers.get('anthropic-ratelimit-tokens-remaining', '')
|
| 359 |
tier = check_ant_tier(rpm)
|
| 360 |
-
print(result)
|
| 361 |
msg = result.get('content', [''])[0].get('text', '')
|
| 362 |
return True, "Working", msg, rpm, rpm_left, tpm, tpm_left, tier
|
| 363 |
else:
|
|
|
|
| 357 |
tpm = response.headers.get('anthropic-ratelimit-tokens-limit', '')
|
| 358 |
tpm_left = response.headers.get('anthropic-ratelimit-tokens-remaining', '')
|
| 359 |
tier = check_ant_tier(rpm)
|
|
|
|
| 360 |
msg = result.get('content', [''])[0].get('text', '')
|
| 361 |
return True, "Working", msg, rpm, rpm_left, tpm, tpm_left, tier
|
| 362 |
else:
|