Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

418 B
Raw Blame
import { createStorageAtom } from './jotai-utils';

const DEFAULT_SMOOTH_STREAMING = true;

/**
 * Controls whether newly streamed message text fades in smoothly. Purely
 * visual: token delivery and state updates are unaffected, and the CSS
 * animation is disabled under `prefers-reduced-motion`.
 */
export const smoothStreamingAtom = createStorageAtom<boolean>(
  'smoothStreaming',
  DEFAULT_SMOOTH_STREAMING,
);