Skip to content

Commit 14e73dd

Browse files
committed
feat: only send user prompt
1 parent 1e7aeea commit 14e73dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/nextEdit/NextEditProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,9 @@ export class NextEditProvider {
709709
}
710710
}
711711

712-
const msg: ChatMessage = await llm.chat([prompts[1]], token);
712+
const msg: ChatMessage = await llm.chat([prompts[1]], token, {
713+
stream: false,
714+
});
713715
console.log("message");
714716
console.log(msg.content);
715717

0 commit comments

Comments
 (0)