From eaaaf6a6a2e48be99a5ff1d0888276b4bf1b9926 Mon Sep 17 00:00:00 2001 From: Trung Dinh Date: Thu, 19 Dec 2024 23:11:45 +0700 Subject: [PATCH] Fix context windows token for model o1-2024-12-17 --- pr_agent/algo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/algo/__init__.py b/pr_agent/algo/__init__.py index 4f9ec547..b25ed208 100644 --- a/pr_agent/algo/__init__.py +++ b/pr_agent/algo/__init__.py @@ -24,7 +24,7 @@ MAX_TOKENS = { 'o1-mini-2024-09-12': 128000, # 128K, but may be limited by config.max_model_tokens 'o1-preview': 128000, # 128K, but may be limited by config.max_model_tokens 'o1-preview-2024-09-12': 128000, # 128K, but may be limited by config.max_model_tokens - 'o1-2024-12-17': 128000, # 128K, but may be limited by config.max_model_tokens + 'o1-2024-12-17': 204800, # 200K, but may be limited by config.max_model_tokens 'claude-instant-1': 100000, 'claude-2': 100000, 'command-nightly': 4096,