# For more information, see the Configuration Guide: # https://www.librechat.ai/docs/configuration/librechat_yaml # Configuration version (required) version: 1.2.1 # Cache settings: Set to true to enable caching cache: true # File strategy s3/firebase # fileStrategy: "s3" # Custom interface configuration interface: customWelcome: "Welcome to LibreChat! Enjoy your experience." # Privacy policy settings privacyPolicy: externalUrl: 'https://librechat.ai/privacy-policy' openNewTab: true # Terms of service termsOfService: externalUrl: 'https://librechat.ai/tos' openNewTab: true modalAcceptance: true modalTitle: "Terms of Service for LibreChat" modalContent: | # Terms and Conditions for LibreChat *Effective Date: February 18, 2024* Welcome to LibreChat, the informational website for the open-source AI chat platform, available at https://librechat.ai. These Terms of Service ("Terms") govern your use of our website and the services we offer. By accessing or using the Website, you agree to be bound by these Terms and our Privacy Policy, accessible at https://librechat.ai//privacy. ## 1. Ownership Upon purchasing a package from LibreChat, you are granted the right to download and use the code for accessing an admin panel for LibreChat. While you own the downloaded code, you are expressly prohibited from reselling, redistributing, or otherwise transferring the code to third parties without explicit permission from LibreChat. ## 2. User Data We collect personal data, such as your name, email address, and payment information, as described in our Privacy Policy. This information is collected to provide and improve our services, process transactions, and communicate with you. ## 3. Non-Personal Data Collection The Website uses cookies to enhance user experience, analyze site usage, and facilitate certain functionalities. By using the Website, you consent to the use of cookies in accordance with our Privacy Policy. ## 4. Use of the Website You agree to use the Website only for lawful purposes and in a manner that does not infringe the rights of, restrict, or inhibit anyone else's use and enjoyment of the Website. Prohibited behavior includes harassing or causing distress or inconvenience to any person, transmitting obscene or offensive content, or disrupting the normal flow of dialogue within the Website. ## 5. Governing Law These Terms shall be governed by and construed in accordance with the laws of the United States, without giving effect to any principles of conflicts of law. ## 6. Changes to the Terms We reserve the right to modify these Terms at any time. We will notify users of any changes by email. Your continued use of the Website after such changes have been notified will constitute your consent to such changes. ## 7. Contact Information If you have any questions about these Terms, please contact us at contact@librechat.ai. By using the Website, you acknowledge that you have read these Terms of Service and agree to be bound by them. endpointsMenu: true modelSelect: true parameters: true sidePanel: true presets: true prompts: true bookmarks: true multiConvo: true agents: true # Example Registration Object Structure (optional) registration: socialLogins: ['github', 'google', 'discord', 'openid', 'facebook', 'apple'] # allowedDomains: # - "gmail.com" # Example Balance settings # balance: # enabled: false # startBalance: 20000 # autoRefillEnabled: false # refillIntervalValue: 30 # refillIntervalUnit: 'days' # refillAmount: 10000 # speech: # tts: # openai: # url: '' # apiKey: '${TTS_API_KEY}' # model: '' # voices: [''] # # stt: # openai: # url: '' # apiKey: '${STT_API_KEY}' # model: '' # rateLimits: # fileUploads: # ipMax: 100 # ipWindowInMinutes: 60 # Rate limit window for file uploads per IP # userMax: 50 # userWindowInMinutes: 60 # Rate limit window for file uploads per user # conversationsImport: # ipMax: 100 # ipWindowInMinutes: 60 # Rate limit window for conversation imports per IP # userMax: 50 # userWindowInMinutes: 60 # Rate limit window for conversation imports per user # Example Actions Object Structure actions: allowedDomains: - "swapi.dev" - "librechat.ai" - "google.com" mcpServers: exa: type: stdio command: npx args: - -y - "/app/exa-mcp-server/build/index.js" - --tools=web_search,research_paper_search,twitter_search,company_research,crawling,competitor_finder timeout: 60000000 env: EXA_API_KEY: "e4399980-1016-44ab-8789-1ef7f967a281" PATH: "/usr/local/bin:/usr/bin:/bin" NODE_PATH: "/usr/local/lib/node_modules" twilio: type: stdio command: npx args: - -y - '@twilio-alpha/mcp' - ACeea63a423d0c2d38fe0e21689f8dbcad/SK6cf2cb7b3f8b8a439c7f610712af3c11:QdhPW4CCq6GnORENPX8uE6t8t20UjNGy timeout: 60000000 env: PATH: "/usr/local/bin:/usr/bin:/bin" NODE_PATH: "/usr/local/lib/node_modules" memory: type: stdio command: npx args: - -y - "@modelcontextprotocol/server-memory" timeout: 60000000 codesandbox: type: stdio command: python args: - tests.py timeout: 60000000 env: JAVA_LIB_PATH: "/usr/lib/jvm/java-21-openjdk/lib" JAVA_SERVER_LIB_PATH: "/usr/lib/jvm/java-21-openjdk/lib/server" LD_LIBRARY_PATH : "/usr/lib/jvm/java-21-openjdk/lib/server:/usr/lib/jvm/java-21-openjdk/lib:" # Definition of custom endpoints endpoints: # assistants: # disableBuilder: false # Disable Assistants Builder Interface by setting to `true` # pollIntervalMs: 3000 # Polling interval for checking assistant updates # timeoutMs: 180000 # Timeout for assistant operations # # Should only be one or the other, either `supportedIds` or `excludedIds` # supportedIds: ["asst_supportedAssistantId1", "asst_supportedAssistantId2"] # # excludedIds: ["asst_excludedAssistantId"] # # Only show assistants that the user created or that were created externally (e.g. in Assistants playground). # # privateAssistants: false # Does not work with `supportedIds` or `excludedIds` # # (optional) Models that support retrieval, will default to latest known OpenAI models that support the feature # retrievalModels: ["gpt-4-turbo-preview"] # # (optional) Assistant Capabilities available to all users. Omit the ones you wish to exclude. Defaults to list below. # capabilities: ["code_interpreter", "retrieval", "actions", "tools", "image_vision"] agents: # (optional) Default recursion depth for agents, defaults to 25 recursionLimit: 50 # (optional) Max recursion depth for agents, defaults to 25 maxRecursionLimit: 100 # (optional) Disable the builder interface for agents disableBuilder: false # (optional) Agent Capabilities available to all users. Omit the ones you wish to exclude. Defaults to list below. capabilities: ["file_search", "actions", "tools", "artifacts", "ocr", "chain"] custom: - name: 'Tiny-DEV' # Unique name for the endpoint # For `apiKey` and `baseURL`, you can use environment variables that you define. # recommended environment variables: apiKey: '77ea72d89b98d279c1848389cd027a51c408' baseURL: 'https://akiko19191-backend2.hf.space/' # Models configuration models: # List of default models to use. At least one value is required. default: ['gemini-2.0-flash-thinking-exp-01-21' ,'gemini-2.5-pro-exp-03-25' ,'deepseek.r1','deepseek-reasoner','deepseek-chat','gemini-2.0-pro-exp-02-05','deepseek-r1-distill-llama-70b', 'qwq-32b','llama-3.3-70b-versatile'] # Fetch option: Set to true to fetch models from API. # fetch: false # Defaults to false. # Optional configurations # Title Conversation setting titleConvo: true # Set to true to enable title conversation modelDisplayLabel: 'Tiny' # Default is "AI" when not set. fileConfig: endpoints: agents: fileLimit: 5 fileSizeLimit: 100 # Maximum size for an individual file in MB totalSizeLimit: 500 # Maximum total size for all files in a single request in MB supportedMimeTypes: - "image/.*" - "application/pdf" - "video/.*" - "application/vnd.ms-excel" - "audio/mp3" - "audio/mpeg" - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" - "application/vnd.openxmlformats-officedocument.wordprocessingml.document" - "application/msword" # fileConfig: # endpoints: # assistants: # fileLimit: 5 # fileSizeLimit: 10 # Maximum size for an individual file in MB # totalSizeLimit: 50 # Maximum total size for all files in a single request in MB # supportedMimeTypes: # - "image/.*" # - "application/pdf" # openAI: # disabled: true # Disables file uploading to the OpenAI endpoint # default: # totalSizeLimit: 20 # YourCustomEndpointName: # fileLimit: 2 # fileSizeLimit: 5 # serverFileSizeLimit: 100 # Global server file size limit in MB # avatarSizeLimit: 2 # Limit for user avatar image size in MB # # See the Custom Configuration Guide for more information on Assistants Config: # # https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/assistants_endpoint