Update utils.py to add Claude 3 Sonnet back in for backwards compatibility

This commit is contained in:
azmaveth 2024-06-20 13:01:46 -05:00 committed by GitHub
parent dad02cda33
commit e1fc5517f5
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-5-sonnet-20240620',
claudeList = ['claude-3-5-sonnet-20240620','claude-3-opus-20240229', 'claude-3-sonnet-20240229',
'claude-3-haiku-20240307', 'claude-2.1']
else:
claudeList = []