Connect LobeChat / LobeHub
Connect LobeChat / LobeHub to ModelPort using Chat Completions.
Setup
- Set the OpenAI proxy URL and the ModelPort key in the environment of your self-hosted instance.
- Enable an OpenAI-compatible Chat Completions provider and add a ModelPort text model ID available to your account.
LobeChat / LobeHub configuration
OPENAI_PROXY_URL=https://api.apimodel.store/v1 OPENAI_API_KEY=REPLACE_WITH_MODELPORT_KEY
Verify the connection
Check the model catalog for a text model with available: true. A text route must be open to your account before you can send chat requests.