Vscode Extension on copilot chat, giving "invalid input" for editing files using copilot_replaceString tool #2749
Unanswered
roshinimichael
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing a vscode extension using copilot chat, suing this extension sample: https://github.com/microsoft/vscode-extension-samples/blob/main/chat-sample/src/toolParticipant.ts
But editing files with this exetnsion, now gives the error : "invalid input" while invoking the tool.
I can see the copilot_replaceString tool is currently giving a stream.markdownString() output instead of directly editing the files now. How can I update my extension's invokeTool to handle this stream output for this copilot_replaceString tool?
This used to work until two months back. The latest changes in copilot_replaceString tool seem to have caused this.
Beta Was this translation helpful? Give feedback.
All reactions