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.
This commit is contained in:
parent
34ae3923f9
commit
2afe176895
@ -145,6 +145,7 @@ class DevChat {
|
||||
|
||||
async chat(content: string, options: ChatOptions = {}, onData: (data: ChatResponse) => void): Promise<ChatResponse> {
|
||||
const args = await this.buildArgs(options);
|
||||
args.push("--");
|
||||
args.push(content);
|
||||
|
||||
const workspaceDir = UiUtilWrapper.workspaceFoldersFirstPath();
|
||||
|
Loading…
x
Reference in New Issue
Block a user