diff --git a/frontend/src/components/thread/content/PlaybackControls.tsx b/frontend/src/components/thread/content/PlaybackControls.tsx index ff886d67..184714b9 100644 --- a/frontend/src/components/thread/content/PlaybackControls.tsx +++ b/frontend/src/components/thread/content/PlaybackControls.tsx @@ -275,6 +275,7 @@ export const PlaybackControls = ({ if (currentChunk.isTool && currentIndex === 0) { // For tool calls, check if they should be hidden during streaming if (isToolInitialized) { + // TODO: better to change tool index by uniq tool id setCurrentToolIndex((prev) => prev + 1); } else { setIsToolInitialized(true);