Commit f592e48
Add support for Claude Opus 4.1 model (#302)
## Description
This PR adds support for the Claude Opus 4.1 model (model ID:
`us.anthropic.claude-opus-4-1-20250805-v1:0`).
## Changes
- Added `'opus4.1'` to the model type enum in `modelTypeSchema`
- Added configuration for Opus 4.1 in `modelConfigs` based on existing
Opus 4 settings
- Added case for Opus 4.1 in `chooseModelAndRegion` function with the
specified model ID
## Testing
No changes to default behavior. The model can now be selected as an
available option when choosing models.
## Notes
The configuration for Opus 4.1 is based on the existing Opus 4
configuration, as specified in the requirements.
<!-- DO NOT EDIT: System generated metadata -->
<!-- WORKER_ID:webapp-1754626803463 -->
---
**Open in Web UI**:
https://d2c09i1k2ray87.cloudfront.net/sessions/webapp-1754626803463
---------
Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>1 parent 3497a5f commit f592e48
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| |||
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
72 | 88 | | |
73 | 89 | | |
74 | 90 | | |
| |||
293 | 309 | | |
294 | 310 | | |
295 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
296 | 315 | | |
297 | 316 | | |
298 | 317 | | |
| |||
0 commit comments