File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { AccessibilityProgressSignalScheduler } from 'vs/platform/accessibilityS
11
11
import { IChatAccessibilityService } from 'vs/workbench/contrib/chat/browser/chat' ;
12
12
import { IChatResponseViewModel } from 'vs/workbench/contrib/chat/common/chatViewModel' ;
13
13
import { renderStringAsPlaintext } from 'vs/base/browser/markdownRenderer' ;
14
+ import { MarkdownString } from 'vs/base/common/htmlContent' ;
14
15
15
16
const CHAT_RESPONSE_PENDING_ALLOWANCE_MS = 4000 ;
16
17
export class ChatAccessibilityService extends Disposable implements IChatAccessibilityService {
@@ -39,7 +40,8 @@ export class ChatAccessibilityService extends Disposable implements IChatAccessi
39
40
return ;
40
41
}
41
42
const errorDetails = isPanelChat && response . errorDetails ? ` ${ response . errorDetails . message } ` : '' ;
42
- status ( renderStringAsPlaintext ( responseContent ) + errorDetails ) ;
43
+ const plainTextResponse = renderStringAsPlaintext ( new MarkdownString ( responseContent ) ) ;
44
+ status ( plainTextResponse + errorDetails ) ;
43
45
}
44
46
}
45
47
You can’t perform that action at this time.
0 commit comments