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 7be4d8a commit 88e062fCopy full SHA for 88e062f
src/lib/server/endpoints/cohere/endpointCohere.ts
@@ -62,6 +62,7 @@ export async function endpointCohere(
62
});
63
64
stream = await cohere.chatStream({
65
+ forceSingleStep: true,
66
message: prompt,
67
rawPrompting: true,
68
model: model.id ?? model.name,
@@ -82,6 +83,7 @@ export async function endpointCohere(
82
83
84
stream = await cohere
85
.chatStream({
86
87
88
chatHistory: formattedMessages.slice(0, -1),
89
message: formattedMessages[formattedMessages.length - 1].message,
0 commit comments