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.

Add USER_STOPPED_MESSAGE constant for user interruption notification

Salman-Ahamede879c82c42b6
diff --git a/packages/app/src/react/features/ai-chat/constants/index.ts b/packages/app/src/react/features/ai-chat/constants/index.ts
index 07935b2f..57c2b393 100644
--- a/packages/app/src/react/features/ai-chat/constants/index.ts
+++ b/packages/app/src/react/features/ai-chat/constants/index.ts
@@ -6,5 +6,7 @@ export const CHAT_ACCEPTED_FILE_TYPES = {
export const CHAT_ERROR_MESSAGE =
'An error occurred. If the issue persists, please send message via our feedback channel. [discord.gg/smythos](https://discord.gg/smythos)';
+export const USER_STOPPED_MESSAGE = 'Generation interrupted by user';
+
export const DEFAULT_AVATAR_URL =
'https://gravatar.com/avatar/ccd5b19e810febbfd3d4321e27b15f77?s=400&d=mp&r=x';