Skip to content

Commit

Permalink
Merge pull request #106 from tdabasinskas/claude-3-7-sonnet-20250219
Browse files Browse the repository at this point in the history
feat(anthropic): add support for  `claude-3-7-sonnet-20250219` model
  • Loading branch information
tak-bro authored Feb 28, 2025
2 parents 94a9003 + fcc9ccf commit d97c400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ aicommit2 config set OPENAI.topP=0.2

| Setting | Description | Default |
|-------------|----------------|-----------------------------|
| `key` | API key | - |
| `key` | API key | - |
| `model` | Model to use | `claude-3-5-haiku-20241022` |

##### ANTHROPIC.key
Expand All @@ -525,6 +525,7 @@ The Anthropic API key. To get started with Anthropic Claude, request access to t
Default: `claude-3-5-haiku-20241022`

Supported:
- `claude-3-7-sonnet-20250219`
- `claude-3-5-sonnet-20241022`
- `claude-3-5-haiku-20241022`
- `claude-3-opus-20240229`
Expand Down Expand Up @@ -863,7 +864,6 @@ Request timeout for the Ollama.
```sh
aicommit2 config set OLLAMA.timeout=<timeout>
```

##### OLLAMA.numCtx

The maximum number of tokens the model can process at once, determining its context length and memory usage.
Expand Down Expand Up @@ -1108,7 +1108,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center"><a href="https://github.com/devxpain"><img src="https://avatars.githubusercontent.com/devxpain" width="100px;" alt=""/><br /><sub><b>@devxpain</b></sub></a><br /><a href="https://github.com/tak-bro/aicommit2/commits?author=devxpain" title="Code">💻</a></td>
</tr>
</tr>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
Expand Down
1 change: 1 addition & 0 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ const modelConfigParsers: Record<ModelName, Record<string, (value: any) => any>>
return 'claude-3-5-haiku-20241022';
}
const supportModels = [
`claude-3-7-sonnet-20250219`,
`claude-3-5-sonnet-20241022`,
`claude-3-5-haiku-20241022`,
`claude-3-opus-20240229`,
Expand Down

0 comments on commit d97c400

Please sign in to comment.