mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 12:39:04 +01: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