Skip to content

Commit 55af8c6

Browse files
committed
fix: add TODO for tool index handling in PlaybackControls
1 parent 176182e commit 55af8c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/thread/content/PlaybackControls.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ export const PlaybackControls = ({
275275
if (currentChunk.isTool && currentIndex === 0) {
276276
// For tool calls, check if they should be hidden during streaming
277277
if (isToolInitialized) {
278+
// TODO: better to change tool index by uniq tool id
278279
setCurrentToolIndex((prev) => prev + 1);
279280
} else {
280281
setIsToolInitialized(true);

0 commit comments

Comments
 (0)