Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default model to 3.5 sonnet new #4612

Merged
merged 4 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/services/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type Settings = {
};

export const DEFAULT_SETTINGS: Settings = {
LLM_MODEL: "openai/gpt-4o",
LLM_MODEL: "anthropic/claude-3-5-sonnet-20241022",
LLM_BASE_URL: "",
AGENT: "CodeActAgent",
LANGUAGE: "en",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/utils/verified-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const VERIFIED_OPENAI_MODELS = [
export const VERIFIED_ANTHROPIC_MODELS = [
"claude-2",
"claude-2.1",
"claude-3-5-sonnet-20241022",
"claude-3-5-sonnet-20240620",
"claude-3-haiku-20240307",
"claude-3-opus-20240229",
Expand Down
2 changes: 1 addition & 1 deletion openhands/agenthub/browsing_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ poetry run python ./openhands/core/main.py \
-i 10 \
-t "tell me the usa's president using google search" \
-c BrowsingAgent \
-m gpt-4o-2024-05-13
-m claude-3-5-sonnet-20241022
```
2 changes: 1 addition & 1 deletion openhands/core/config/llm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class LLMConfig:
supports_function_calling: Whether the model supports function calling.
"""

model: str = 'gpt-4o'
model: str = 'claude-3-5-sonnet-20241022'
api_key: str | None = None
base_url: str | None = None
api_version: str | None = None
Expand Down
4 changes: 2 additions & 2 deletions openhands/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ websocat ws://127.0.0.1:3000/ws
## Supported Environment Variables

```sh
LLM_API_KEY=sk-... # Your OpenAI API Key
LLM_MODEL=gpt-4o # Default model for the agent to use
LLM_API_KEY=sk-... # Your Anthropic API Key
LLM_MODEL=claude-3-5-sonnet-20241022 # Default model for the agent to use
WORKSPACE_BASE=/path/to/your/workspace # Default absolute path to workspace
```

Expand Down
Loading