Skip to content

Commit c8256bd

Browse files
committed
stop spinner before all tool call chunks
1 parent 1f94652 commit c8256bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

npm-app/src/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,9 @@ export class Client {
12491249
}
12501250

12511251
const xmlStreamParser = createXMLStreamParser(toolRenderers, (chunk) => {
1252+
if (chunk) {
1253+
Spinner.get().stop()
1254+
}
12521255
if (!streamStarted) {
12531256
streamStarted = true
12541257
onStreamStart()

0 commit comments

Comments
 (0)