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.

Update message type definitions in chat.types.ts

Salman-Ahamede1a9b1d3a0bf
diff --git a/packages/app/src/react/features/ai-chat/types/chat.types.ts b/packages/app/src/react/features/ai-chat/types/chat.types.ts
index 007cd46d..2d396d19 100644
--- a/packages/app/src/react/features/ai-chat/types/chat.types.ts
+++ b/packages/app/src/react/features/ai-chat/types/chat.types.ts
@@ -10,11 +10,11 @@ export type IChildren = { children: React.ReactNode };
*
* - 'user': Message from user
* - 'system': Response from AI/system
- * - 'thinking': AI is processing/thinking
+ * - 'debug': AI is processing/thinking
* - 'loading': AI is generating response (replying/retrying)
* - 'error': Error occurred during processing
*/
-export type TMessageType = 'user' | 'system' | 'thinking' | 'loading' | 'error';
+export type TMessageType = 'user' | 'system' | 'debug' | 'loading' | 'error' | 'meta';
/**
* Core chat message interface