Add supported Claude models

This commit is contained in:
Stefan Streichsbier 2024-03-12 08:20:57 +08:00
parent d1463e9cc7
commit ea0e6884b0

View File

@ -251,7 +251,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:
headers = {
"Authorization": f"Bearer {self.client.api_key}"