From 06a2fedbbfaf51c6780faf900967b3fe00c20120 Mon Sep 17 00:00:00 2001 From: dougollerenshaw Date: Wed, 25 Sep 2024 09:37:29 -0700 Subject: [PATCH] Rearranged constants order --- codeaide/utils/constants.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/codeaide/utils/constants.py b/codeaide/utils/constants.py index 8d93d92..28b8abb 100644 --- a/codeaide/utils/constants.py +++ b/codeaide/utils/constants.py @@ -11,17 +11,16 @@ "openai": { "api_key_name": "OPENAI_API_KEY", "models": { + "gpt-3.5-turbo": {"max_tokens": 4096}, + "gpt-4-turbo": {"max_tokens": 4096}, "chatgpt-4o-latest": {"max_tokens": 16384}, "gpt-4o-mini": {"max_tokens": 16384}, - "o1-preview": {"max_tokens": 32768}, - "gpt-4-turbo": {"max_tokens": 4096}, - "gpt-3.5-turbo": {"max_tokens": 4096}, }, }, } -# Default model (we'll keep this for backwards compatibility) -DEFAULT_MODEL = "claude-3-haiku-20240307" # "claude-3-5-sonnet-20240620" +# Default model +DEFAULT_MODEL = "claude-3-5-sonnet-20240620" DEFAULT_PROVIDER = "anthropic" # Other existing constants remain unchanged