Skip to content

Commit 244ab1b

Browse files
committed
chore: add changeset
1 parent 1db0093 commit 244ab1b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Fix extension freeze when model calls invalid/unknown native tool
6+
7+
When a model attempted to call a tool that doesn't exist, the extension would freeze because the switch statement handling tool names had no default case. For native protocol, this meant no tool_result was sent back to the API, causing the extension to wait indefinitely.
8+
9+
Added a default case that:
10+
11+
- Pushes an error tool_result back to the API
12+
- Increments consecutiveMistakeCount
13+
- Records the tool error
14+
- Shows an error message to the user

0 commit comments

Comments
 (0)