MyNixOS website logo
option

services.librechat.settings

A free-form attribute set that will be written to librechat.yaml. See the LibreChat configuration options. You can use environment variables by wrapping them in ${}. Take care to escape the $ character.

Declarations
Type
open submodule of (YAML 1.1 value)
Default
{ }
Example
{
  cache = true;
  endpoints = {
    custom = [
      {
        apiKey = "\${OPENROUTER_KEY}";
        baseURL = "https://openrouter.ai/api/v1";
        dropParams = [
          "stop"
        ];
        modelDisplayLabel = "OpenRouter";
        models = {
          default = [
            "meta-llama/llama-3-70b-instruct"
          ];
          fetch = true;
        };
        name = "OpenRouter";
        titleConvo = true;
        titleModule = "meta-llama/llama-3-70b-instruct";
      }
    ];
  };
  interface = {
    privacyPolicy = {
      externalUrl = "https://librechat.ai/privacy-policy";
      openNewTab = true;
    };
  };
  version = "1.0.8";
}