連携ガイド

LobeChat integration guide

Connect LobeChat through a custom provider.

Overview

LobeChat supports OpenAI-compatible hosts through environment variables or Add Custom Provider. Keep MoLoop as a separate provider in the local web client.

Quick configuration

The custom provider uses 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

Open Language Model settings

Open Settings > Language Model and click Add Custom Provider.

text
Provider Name: MoLoop
Provider ID: moloop
Request Format (SDK Type): openai
Proxy URL: https://api.moloop.io/v1
API Key: YOUR_API_KEY

Add a model

Save the provider, then add the MoLoop model you want to use. It will appear in the picker.

Optional: Docker environment variables

Self-hosted deployments can set OpenAI environment variables at container runtime.

bash
docker run -e OPENAI_API_KEY=YOUR_API_KEY \
           -e OPENAI_PROXY_URL=https://api.moloop.io/v1 \
           lobehub/lobe-chat

Check model capabilities in the catalog for tools. Use Add Custom Provider when keeping other providers enabled.

Things to know

  • Provider ID must be lowercase, such as moloop; uppercase MoLoop is not a valid ID.

  • When using environment variables, confirm the container inherited them; browser settings do not read the host shell automatically.

始める準備はできましたか?

API キーを取得して、これらのツールで MoLoop を使い始めましょう。