Send text into the chat without sending #2480
-
Can you provide text, such as a prompt template, directly into the chat so the user can see and modify it before clicking Send? This is a common experience I've seen in other copilots, including M365 Copilot and Copilot for Dynamics 365. For example, the UI shows some starter prompts that the user can click, which then inserts the corresponding starter prompt into the text input for the chat, allowing the user to modify it before sending. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this should be possible. Try something like this
|
Beta Was this translation helpful? Give feedback.
Yes, this should be possible.
Try something like this
vscode.commands.executeCommand('workbench.action.chat.open', { query: ‘YOUR_PROMPT_HERE’, isPartialQuery: true});