From 16f3de602703bd60d31686886d516b76dee3df79 Mon Sep 17 00:00:00 2001 From: mvanniasingheTT Date: Fri, 24 Jan 2025 20:12:37 +0000 Subject: [PATCH] remove completed TODO for runinfernece.tsx --- app/frontend/src/components/chatui/runInference.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/frontend/src/components/chatui/runInference.ts b/app/frontend/src/components/chatui/runInference.ts index c3539933..b2eab414 100644 --- a/app/frontend/src/components/chatui/runInference.ts +++ b/app/frontend/src/components/chatui/runInference.ts @@ -131,7 +131,6 @@ export const runInference = async ( try { const jsonData = JSON.parse(trimmedLine.slice(5)); - // TODO: check if this is needed if (!isAgentSelected) { // // Handle statistics separately after [DONE] if (jsonData.ttft && jsonData.tpot) { @@ -146,8 +145,6 @@ export const runInference = async ( continue; // Skip processing this chunk as part of the generated text } } - // TODO: Add an option for agent - // Handle the generated text const content = jsonData.choices[0]?.delta?.content || ""; console.log(content)