Merge pull request #820 from riya-amemiya/riya-amemiya/change_gpt-4-turbo_model

add support for gpt-4-turbo-preview model
This commit is contained in:
Tal 2024-03-26 10:46:51 +02:00 committed by GitHub
commit 26c4a98fc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@ MAX_TOKENS = {
'gpt-4-32k': 32000,
'gpt-4-1106-preview': 128000, # 128K, but may be limited by config.max_model_tokens
'gpt-4-0125-preview': 128000, # 128K, but may be limited by config.max_model_tokens
'gpt-4-turbo-preview': 128000, # 128K, but may be limited by config.max_model_tokens
'claude-instant-1': 100000,
'claude-2': 100000,
'command-nightly': 4096,