We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 824e45c commit 7bc39dbCopy full SHA for 7bc39db
core/nextEdit/NextEditProvider.ts
@@ -461,9 +461,13 @@ export class NextEditProvider {
461
// prompts[1] extracts the user prompt from the system-user prompt pair.
462
// NOTE: Stream is currently set to false, but this should ideally be a per-model flag.
463
// Mercury Coder currently does not support streaming.
464
- const msg: ChatMessage = await llm.chat([prompts[1]], token, {
465
- stream: false,
466
- });
+ const msg: ChatMessage = await llm.chat(
+ this.endpointType === "fineTuned" ? [prompts[1]] : prompts,
+ token,
467
+ {
468
+ stream: false,
469
+ },
470
+ );
471
472
if (typeof msg.content !== "string") {
473
return undefined;
0 commit comments