Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Doc: Fix Claude model name typos (#1215)

Joshua Shanksc330430802c3
diff --git a/docs/installation/keys.md b/docs/installation/keys.md
index 062c3876..8f24199d 100644
--- a/docs/installation/keys.md
+++ b/docs/installation/keys.md
@@ -44,7 +44,7 @@ Here are a few options for `--agent.model.name`:
| Model | API key | Comment |
| ----- | ------- | ------- |
-| `claude-sonnet-4-20250514)` | `ANTHROPIC_API_KEY` | Our recommended model |
+| `claude-sonnet-4-20250514` | `ANTHROPIC_API_KEY` | Our recommended model |
| `gpt-4o` | `OPENAI_API_KEY` | |
| `o1-preview` | `OPENAI_API_KEY` | You might need to set temperature and sampling to the supported values. |
diff --git a/docs/usage/hello_world.md b/docs/usage/hello_world.md
index b4fdece2..57753aa5 100644
--- a/docs/usage/hello_world.md
+++ b/docs/usage/hello_world.md
@@ -20,13 +20,13 @@ Let's start with an absolutely trivial example and solve an issue about a simple
```bash
sweagent run \
- --agent.model.name=claude-sonnet-4-20250514) \
+ --agent.model.name=claude-sonnet-4-20250514 \
--agent.model.per_instance_cost_limit=2.00 \
--env.repo.github_url=https://github.com/SWE-agent/test-repo \
--problem_statement.github_url=https://github.com/SWE-agent/test-repo/issues/1
```
-The example above uses the `Claude 3.5 Sonnet` model from Anthropic. Alternatively, you can for example use `GPT-4o` (from OpenAI)
+The example above uses the `Claude Sonnet 4` model from Anthropic. Alternatively, you can for example use `GPT-4o` (from OpenAI)
by setting `--agent.model.name=gpt-4o`.
In order to use it, you need to add your keys to the environment: