Commit 38391da
Add Claude 4.5 Sonnet support and update default model (#296)
* Fix claude-sonnet-4-5-20250929 tool compatibility
- Add EditTool20250728 with text_editor_20250728 API type and str_replace_based_edit_tool name
- Update computer_use_20250124 to use EditTool20250728 instead of EditTool20250124
- Add CLAUDE_4_5 model configuration using computer_use_20250124 tool version
- Update model mapping to use CLAUDE_4_5 for claude-sonnet-4-5-20250929
- Set claude-sonnet-4-5-20250929 as the default model
This resolves the "does not support tool types: text_editor_20250124" error
by using the official tool types supported by the model: bash_20250124,
computer_20250124, text_editor_20250728.
Uses official computer_use_20250124 tool version instead of inventing a new one.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Update README to reflect Claude 4.5 Sonnet as default model
Updates the default model reference from claude-sonnet-4-20250514 to
claude-sonnet-4-5-20250929 in the README note section.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* remove unused import
---------
Co-authored-by: Claude <[email protected]>1 parent 47354ff commit 38391da
File tree
5 files changed
+21
-7
lines changed- computer-use-demo
- computer_use_demo
- tools
5 files changed
+21
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
513 | 521 | | |
514 | 522 | | |
515 | 523 | | |
516 | | - | |
| 524 | + | |
517 | 525 | | |
518 | 526 | | |
519 | | - | |
| 527 | + | |
520 | 528 | | |
521 | 529 | | |
522 | 530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
560 | 565 | | |
561 | 566 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments