added mistral support

This commit is contained in:
based
2023-12-16 12:22:34 +10:00
parent 1b7c45ff98
commit f258c15c19
4 changed files with 56 additions and 11 deletions
+4 -1
View File
@@ -38,7 +38,9 @@ class APIKey:
elif provider == Provider.VERTEXAI:
self.project_id = ""
pass
elif provider == Provider.MISTRAL:
self.subbed = False
class Provider(Enum):
@@ -49,3 +51,4 @@ class Provider(Enum):
AWS = 5
AZURE = 6
VERTEXAI = 7
MISTRAL = 8