LobeChat
A self-hosted chat app. Its OpenAI provider reads its key, base URL and model list from the environment.
Connect
ini
# Plugboard app key (from the plugboard `keys` option).
OPENAI_API_KEY=<your plugboard app key>
# Plugboard base URL, with /v1. From inside the container, the host is host.docker.internal.
OPENAI_PROXY_URL=http://host.docker.internal:4010/v1
# Hide the built-in OpenAI models and show only plugboard's alias.
OPENAI_MODEL_LIST=-all,+fastOPENAI_PROXY_URLmust include/v1; without it every chat answers 404.OPENAI_MODEL_LISTcontrols the picker:-allhides the built-in OpenAI models,+fastadds your alias. Usename=Display Nameto rename.- Restart the container after changing these.
A compose file that loads it is in examples/lobechat/.
What works
Streamed chat, and tool calls and image input for models whose picker entry enables them.
Limits
- The picker comes from
OPENAI_MODEL_LIST, not from plugboard's/v1/models.