Merge pull request #5433 from chezsmithy/fix-stream-diff-lines-with-reasoning

fix(streamDiffLines)-disable-reasoning
This commit is contained in:
Nate Sesti 2025-04-29 20:24:51 -07:00 • committed by GitHub
commit 4b010a2368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,9 +161,11 @@ export async function* streamDiffLines({
? llm.streamComplete(prompt, new AbortController().signal, {
raw: true,
prediction,
reasoning: false,
})
: llm.streamChat(prompt, new AbortController().signal, {
prediction,
reasoning: false,
});
let lines = streamLines(completion);