Skip to content

Commit

Permalink
Rearranged constants order
Browse files Browse the repository at this point in the history
  • Loading branch information
dougollerenshaw committed Sep 25, 2024
1 parent 8bf42a0 commit 06a2fed
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions codeaide/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06a2fed

Please sign in to comment.