mirror of
https://github.com/cunnymessiah/keychecker.git
synced 2026-05-10 18:39:04 -07:00
implemented openrouter support
This commit is contained in:
@@ -48,6 +48,13 @@ class APIKey:
|
||||
elif provider == Provider.MAKERSUITE:
|
||||
self.models = []
|
||||
|
||||
elif provider == Provider.OPENROUTER:
|
||||
self.usage = 0
|
||||
self.credit_limit = 0
|
||||
self.rpm = 0
|
||||
self.balance = 0
|
||||
self.limit_reached = False
|
||||
self.bought_credits = False
|
||||
|
||||
class Provider(Enum):
|
||||
OPENAI = 1,
|
||||
@@ -58,3 +65,4 @@ class Provider(Enum):
|
||||
AZURE = 6
|
||||
VERTEXAI = 7
|
||||
MISTRAL = 8
|
||||
OPENROUTER = 9
|
||||
Reference in New Issue
Block a user