LibreChat-test / librechat.yaml
Boning c
Update librechat.yaml
0a1d4c0 verified
# LibreChat Configuration: Minimal setup for a single custom provider (SmilyAI)
# This file should be placed in the root of your project and copied by your Dockerfile.
# Version of the configuration file structure.
version: "1.2.8"
# Disables new user registration. Recommended for a personal instance.
# Set to `true` if you want to allow others to create accounts.
registration:
allowed: false
# Enables the standard email/password login system.
auth:
# You can add other providers like 'google' or 'github' here if you set them up.
methods: ["local"]
# This is the most important section. By only defining `custom` endpoints,
# all default endpoints like OpenAI, Google, and Anthropic are automatically disabled.
endpoints:
# The "custom" section is for any OpenAI-compatible API.
custom:
- # ---- SmilyAI Endpoint Configuration ----
# A unique internal name for this configuration.
name: "SmilyAI"
# This tells LibreChat to get the API key from a Hugging Face Secret
# named SMILYAI_API_KEY. Make sure your secret is named exactly this.
apiKey: "none"
# IMPORTANT: Replace the URL below with the actual Base URL provided by SmilyAI.
# This is the most common point of error. It must be correct.
baseURL: "https://smilyai-labs-sam-chat-legacy-models.hf.space"
# The user-facing label that appears in the model selection dropdown.
modelDisplayLabel: "SmilyAI"
# Model configuration.
models:
# `fetch: true` is highly recommended. It automatically queries the baseURL
# to get a list of all models you have access to.
fetch: true
# `default` is a fallback list in case fetching fails.
# You can list one or two known models here.
default: ["sam-1"]
# These settings control how conversation titles are generated.
titleConvo: true
# Use a fast and efficient model from the provider for titling.
titleModel: "sam-reason-S2"