Руководства по интеграции

LibreChat integration guide

Use MoLoop in LibreChat through a custom endpoint.

Overview

LibreChat exposes OpenAI-compatible hosts through endpoints.custom. Add a MoLoop block and an environment variable, then let the model picker load the catalog.

Quick configuration

LibreChat custom endpoints use this base URL and key.

text
基础 URL: https://api.moloop.io/v1
API 密钥: YOUR_API_KEY

Compatibility

  • Chat Completions

  • Streaming

  • Tool calling

Step-by-step setup

Edit librechat.yaml

Add the MoLoop custom endpoint under endpoints.custom in your LibreChat installation.

yaml
endpoints:
  custom:
    - name: 'MoLoop'
      apiKey: '${MOLOOP_API_KEY}'
      baseURL: 'https://api.moloop.io/v1'
      models:
        fetch: true
      titleConvo: true
      modelDisplayLabel: 'MoLoop'

Add the environment variable

Set the API key in LibreChat’s .env file.

dotenv
MOLOOP_API_KEY=YOUR_API_KEY

Restart LibreChat

Restart the container or process, then choose MoLoop from the chat dropdown.

fetch: true loads models from the MoLoop catalog. Add dropParams only when a model explicitly rejects extra parameters.

Things to know

  • Use single-brace environment syntax such as ${MOLOOP_API_KEY}; do not mix formats from other configs.

  • Combine fetch: true with default when you want preferred models shown first.

  • Do not commit a production API key to YAML; inject it through an environment variable or secret.

Готовы начать?

Получите API-ключ и начните использовать MoLoop в этих инструментах.