Skip to content

Commit 2afe176

Browse files
committed
Add double dash to DevChat arguments
- Update devchat.ts to include a double dash in the chat() method. - Ensure proper separation of options and content in the chat() method.
1 parent 34ae392 commit 2afe176

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/toolwrapper/devchat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ class DevChat {
145145

146146
async chat(content: string, options: ChatOptions = {}, onData: (data: ChatResponse) => void): Promise<ChatResponse> {
147147
const args = await this.buildArgs(options);
148+
args.push("--");
148149
args.push(content);
149150

150151
const workspaceDir = UiUtilWrapper.workspaceFoldersFirstPath();

0 commit comments

Comments
 (0)