Skip to content

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.

Refactor Exports and Type Definitions in AI Chat Module

Salman-Ahamed3618ee9e92b1
diff --git a/packages/app/src/react/features/ai-chat/index.ts b/packages/app/src/react/features/ai-chat/index.ts
index bf08c2af..ffd4a8e1 100644
--- a/packages/app/src/react/features/ai-chat/index.ts
+++ b/packages/app/src/react/features/ai-chat/index.ts
@@ -5,8 +5,8 @@
// === Type Definitions ===
export type {
- IChatActions,
IChatAPIConfig,
+ IChatActions,
IChatError,
IChatFileAttachment,
IChatMessage,
@@ -23,7 +23,7 @@ export type {
} from './types/chat.types';
// === API Client ===
-export { chatAPI, ChatAPIClient, createChatClient } from './clients/chat-api.client';
+export { ChatAPIClient, chatAPI, createChatClient } from './clients/chat-api.client';
// === React Hooks ===
export {
@@ -36,13 +36,13 @@ export { useChatStream } from './hooks/use-chat-stream';
// === Utilities ===
export {
+ ThinkingMessageManager,
createThinkingManager,
extractFunctionName,
formatFunctionName,
formatStatusMessage,
processStreamChunk,
splitJSONStream,
- ThinkingMessageManager,
} from './utils/stream.utils';
// === Pages/Components ===