fix-stream-diff-lines-with-reasoning

This commit is contained in:
chezsmithy 2025-04-29 19:04:50 -07:00
parent cbff7ed0cb
commit 34e0832ed5

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);