Merge pull request #185 from streichsbaer/feat/add-supported-claude-models

feat: Add additional Claude models
This commit is contained in:
Daniel Miessler 2024-03-12 10:24:29 -07:00 committed by GitHub
commit 8f81d881e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -263,7 +263,7 @@ class Standalone:
def fetch_available_models(self):
gptlist = []
fullOllamaList = []
claudeList = ['claude-3-opus-20240229']
claudeList = ['claude-3-opus-20240229', 'claude-3-sonnet-20240229', 'claude-2.1']
try:
models = [model.id for model in self.client.models.list().data]
except APIConnectionError as e: