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.
基础 URL: https://api.moloop.io/v1
API 密钥: YOUR_API_KEYCompatibility
Chat Completions
Streaming
Tool calling
Step-by-step setup
Open Language Model settings
Open Settings > Language Model and click Add Custom Provider.
Provider Name: MoLoop
Provider ID: moloop
Request Format (SDK Type): openai
Proxy URL: https://api.moloop.io/v1
API Key: YOUR_API_KEYAdd 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.
docker run -e OPENAI_API_KEY=YOUR_API_KEY \
-e OPENAI_PROXY_URL=https://api.moloop.io/v1 \
lobehub/lobe-chatRecommended models
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 в этих инструментах.