SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Remove unused variable `chunkCount` in `chatUtils` to enhance code clarity and maintainability.
Salman-Ahamed53b3a3883aa2
diff --git a/packages/app/src/react/features/ai-chat/utils/index.ts b/packages/app/src/react/features/ai-chat/utils/index.tsindex 3072f72e..68d2f3f7 100644--- a/packages/app/src/react/features/ai-chat/utils/index.ts+++ b/packages/app/src/react/features/ai-chat/utils/index.ts@@ -1,4 +1,3 @@-/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any */import config from '@src/builder-ui/config';import { FileWithMetadata } from '@src/react/shared/types/chat.types';@@ -314,10 +313,7 @@ export const chatUtils = {chatUtils.thinkingManager.start('general', input.onThinking);}- let chunkCount = 0;while (true) {- chunkCount++;-const { done, value } = await reader.read();if (input.signal.aborted) {