Skip to content

Commit

Permalink
remove completed TODO for runinfernece.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanniasingheTT committed Jan 24, 2025
1 parent 0aa124c commit 16f3de6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/frontend/src/components/chatui/runInference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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)
Expand Down

0 comments on commit 16f3de6

Please sign in to comment.