mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 18:21:37 +08:00
feat(llm): last test should be passing now
This commit is contained in:
parent
224cae6db2
commit
93cf868dcf
@ -326,6 +326,15 @@ export async function processProviderStream(
|
||||
chunk,
|
||||
chunkCount
|
||||
);
|
||||
} else if (toolCalls.length > 0) {
|
||||
// Send callback for tool-only chunks (no content but has tool calls)
|
||||
await StreamProcessor.sendChunkToCallback(
|
||||
streamCallback,
|
||||
'',
|
||||
!!chunk.done,
|
||||
chunk,
|
||||
chunkCount
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user