mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
Merge pull request #901 from KennyDizi/main
Add new GPT-4o models and update tiktoken to 0.7.0
This commit is contained in:
@ -11,6 +11,8 @@ MAX_TOKENS = {
|
|||||||
'gpt-4-32k': 32000,
|
'gpt-4-32k': 32000,
|
||||||
'gpt-4-1106-preview': 128000, # 128K, but may be limited by config.max_model_tokens
|
'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-0125-preview': 128000, # 128K, but may be limited by config.max_model_tokens
|
||||||
|
'gpt-4o': 128000, # 128K, but may be limited by config.max_model_tokens
|
||||||
|
'gpt-4o-2024-05-13': 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
|
'gpt-4-turbo-preview': 128000, # 128K, but may be limited by config.max_model_tokens
|
||||||
'gpt-4-turbo-2024-04-09': 128000, # 128K, but may be limited by config.max_model_tokens
|
'gpt-4-turbo-2024-04-09': 128000, # 128K, but may be limited by config.max_model_tokens
|
||||||
'gpt-4-turbo': 128000, # 128K, but may be limited by config.max_model_tokens
|
'gpt-4-turbo': 128000, # 128K, but may be limited by config.max_model_tokens
|
||||||
|
@ -19,7 +19,7 @@ PyYAML==6.0.1
|
|||||||
python-gitlab==3.15.0
|
python-gitlab==3.15.0
|
||||||
retry==0.9.2
|
retry==0.9.2
|
||||||
starlette-context==0.3.6
|
starlette-context==0.3.6
|
||||||
tiktoken==0.5.2
|
tiktoken==0.7.0
|
||||||
ujson==5.8.0
|
ujson==5.8.0
|
||||||
uvicorn==0.22.0
|
uvicorn==0.22.0
|
||||||
tenacity==8.2.3
|
tenacity==8.2.3
|
||||||
|
Reference in New Issue
Block a user