Skip to content

Commit 2f007b9

Browse files
committed
fix: allow text content to be displayed after tool use
- Remove didAlreadyUseTool check from text content processing - Fixes issue where content after update_todo_list tool was being cut off - Only tool uses should be blocked after first tool, not text content - Resolves #5847
1 parent a7771a3 commit 2f007b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/assistant-message/presentAssistantMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export async function presentAssistantMessage(cline: Task) {
8282

8383
switch (block.type) {
8484
case "text": {
85-
if (cline.didRejectTool || cline.didAlreadyUseTool) {
85+
if (cline.didRejectTool) {
8686
break
8787
}
8888

0 commit comments

Comments
 (0)