🔧 Custom OpenAI-Compatible Endpoints
If you run a local proxy (like LM Studio, LocalAI, vLLM) or use a cloud provider not natively listed, you can connect it to Brody using the Custom Provider option.
🚀 Setup Instructions
- Start your local server or fetch your custom cloud API endpoint details.
- Open Unity and navigate to Tools > Brody AI > Tool Settings.
- Set the default provider to Custom.
- Fill in the custom fields:
- Base URL: The address of the API (e.g.
http://localhost:1234/v1for LM Studio, or your custom proxy URL). - API Key: Enter the API key if required (use
lm-studioor mock keys for local servers). - Model ID: Type the exact string identifier of the model loaded on your server.
- Base URL: The address of the API (e.g.
- Click Test Connection to verify.
⚙️ API Structure Requirement
The custom endpoint must support standard OpenAI request/response JSON structures:
- Endpoint:
/v1/chat/completions(or equivalent appended automatically to the Base URL). - Supports streaming completions.