Calling stream.markdown outside ChatRequestHandler #2400
-
I understand that I can use stream.markdown inside the ChatRequestHandler to send a message to the chat window. However, if I have a function where the code is outside the ChatRequestHandler, is there a reliable way to use stream.markdown? I tried passing the stream to the function, but encountered issues where it said the stream was closed. For now, I added the code to a command that is part of the chatParticipant. While this works, it results in the command appearing in the list of / commands, which I do not want. This may be the same as this dicussion: Background: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this is very similar to microsoft/vscode#211136 Thanks for sharing your scenario - maybe also share it in the vscode issue. Thanks |
Beta Was this translation helpful? Give feedback.
Yes, this is very similar to microsoft/vscode#211136
Thanks for sharing your scenario - maybe also share it in the vscode issue. Thanks