mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
Merge pull request #185 from streichsbaer/feat/add-supported-claude-models
feat: Add additional Claude models
This commit is contained in:
commit
8f81d881e1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user