Guide for adding new AI provider documentation. Use when adding documentation for a new AI provider (like OpenAI, Anthropic, etc.), including usage docs, environment variables, Docker config, and image resources. Triggers on provider documentation tasks.
Complete workflow for adding documentation for a new AI provider.
docs/usage/providers/{provider-name}.mdx (English)docs/usage/providers/{provider-name}.zh-CN.mdx (Chinese)Reference: docs/usage/providers/fal.mdx
docs/self-hosting/environment-variables/model-provider.mdx (EN)docs/self-hosting/environment-variables/model-provider.zh-CN.mdx (CN)### `{PROVIDER}_API_KEY`
- Type: Required
- Description: API key from {Provider Name}
- Example: `{api-key-format}`
### `{PROVIDER}_MODEL_LIST`
- Type: Optional
- Description: Control model list. Use `+` to add, `-` to hide
- Example: `-all,+model-1,+model-2=Display Name`
Update all Dockerfiles at the end of ENV section:
DockerfileDockerfile.databaseDockerfile.pglite# {New Provider}
{PROVIDER}_API_KEY="" {PROVIDER}_MODEL_LIST=""
### {Provider Name} ###
# {PROVIDER}_API_KEY={prefix}-xxxxxxxx
hub-apac-1.lobeobjects.space