Merge pull request #630 from azmaveth/main

Update utils.py to support Claude 3.5 Sonnet
This commit is contained in:
Daniel Miessler 2024-06-20 11:03:47 -07:00 committed by GitHub
commit e705aaa1b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -407,7 +407,7 @@ class Standalone:
fullOllamaList = []
googleList = []
if "CLAUDE_API_KEY" in os.environ:
claudeList = ['claude-3-opus-20240229', 'claude-3-sonnet-20240229',
claudeList = ['claude-3-5-sonnet-20240620','claude-3-opus-20240229', 'claude-3-sonnet-20240229',
'claude-3-haiku-20240307', 'claude-2.1']
else:
claudeList = []