mirror of
https://github.com/cunnymessiah/keychecker.git
synced 2026-05-10 18:39:04 -07:00
more retard ocd ignore
This commit is contained in:
+4
-1
@@ -1,5 +1,6 @@
|
||||
import APIKey
|
||||
|
||||
|
||||
async def check_anthropic(key: APIKey, session):
|
||||
pozzed_messages = ["ethically", "copyrighted material"]
|
||||
headers = {
|
||||
@@ -47,9 +48,10 @@ async def check_anthropic(key: APIKey, session):
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def get_tier(tokenlimit, ratelimit):
|
||||
tier_mapping = {
|
||||
(25000, 5): "Free",
|
||||
(25000, 5): "Free Tier",
|
||||
(50000, 50): "Tier 1",
|
||||
(100000, 1000): "Tier 2",
|
||||
(200000, 2000): "Tier 3",
|
||||
@@ -57,6 +59,7 @@ def get_tier(tokenlimit, ratelimit):
|
||||
}
|
||||
return tier_mapping.get((tokenlimit, ratelimit), "Scale Tier")
|
||||
|
||||
|
||||
def pretty_print_anthropic_keys(keys):
|
||||
print('-' * 90)
|
||||
print(f'Validated {len(keys)} working Anthropic keys:')
|
||||
|
||||
Reference in New Issue
Block a user