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
import type { TMessageType } from '@react/features/ai-chat/types';
export const CHAT_ACCEPTED_FILE_TYPES = {
mime: ['*/*'],
input: '*/*',
} as const;
export const AUTH_METHODS = {
OAUTH: 'oauth-oidc',
API_KEY: 'api-key-bearer',
} as const;
/** Maximum allowed file size in bytes (5MB) */
export const ALLOWED_FILE_SIZE = 5 * 1024 * 1024;
/** Maximum number of files that can be uploaded at once */
export const MAX_UPLOADS = 5;
export const DEFAULT_AVATAR_URL =
'https://gravatar.com/avatar/ccd5b19e810febbfd3d4321e27b15f77?s=400&d=mp&r=x';
type TMessageKey = 'USER' | 'SYSTEM' | 'ERROR' | 'META' | 'LOADING' | 'INFO';
export const MESSAGE_TYPES: Record<TMessageKey, TMessageType> = {
USER: 'user',
SYSTEM: 'system',
ERROR: 'error',
META: 'meta',
LOADING: 'loading',
INFO: 'info',
};