Skip to content

Commit 729baef

Browse files
authored
add new line to accessible view for tool call response (microsoft#251951)
fix microsoft#250765
1 parent 4d25f6a commit 729baef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class ChatResponseAccessibleProvider extends Disposable implements IAccessibleVi
8686
}
8787
responseContent += `\n${message}\n`;
8888
} else if (toolInvocation.isComplete && toolInvocation.resultDetails && 'input' in toolInvocation.resultDetails) {
89-
responseContent += toolInvocation.resultDetails.isError ? 'Errored ' : 'Completed ';
89+
responseContent += '\n' + toolInvocation.resultDetails.isError ? 'Errored ' : 'Completed ';
9090
responseContent += `${`${typeof toolInvocation.invocationMessage === 'string' ? toolInvocation.invocationMessage : stripIcons(renderMarkdownAsPlaintext(toolInvocation.invocationMessage))} with input: ${toolInvocation.resultDetails.input}`}\n`;
9191
}
9292
}

0 commit comments

Comments
 (0)