-
Notifications
You must be signed in to change notification settings - Fork 0
Custom API Guide
Verified against GitMind
5.0.0on June 7, 2026.
Custom API is a GitMind Pro provider for compatible private or third-party text-generation endpoints.
- Select Custom API and enable it.
- Set the base URL, endpoint path, and model.
- Choose authentication: Bearer token, API key header, Basic authentication, or none.
- For API key auth, set the custom header name.
- Choose OpenAI-compatible, Anthropic-compatible, or Custom request and response formats.
- Use Test Connection, then generate with a non-sensitive test repository.
Use HTTPS except for explicitly trusted local endpoints.
OpenAI-compatible endpoints normally accept a model plus a messages array and return text at choices[0].message.content. Anthropic-compatible endpoints normally accept a model plus messages and return content blocks. Select the matching built-in format where possible.
For custom JSON, use the UI's request template and response path. Supported placeholders include {{model}} and {{prompt}}. Example request:
{
"model": "{{model}}",
"input": "{{prompt}}"
}Example response path: result.generated_text.
- Connection failure: verify base URL, path, TLS, VPN, and firewall access.
- 401/403: verify auth type, token, and custom header name.
- Invalid JSON: validate the request template.
- Empty output: make the response path point to a text value.
- Provider rejects request: compare the selected compatibility mode with endpoint documentation.
Tokens are credentials. Never publish request examples containing real tokens, private URLs, source code, or response data.
GitMind Wiki | Verified against GitMind 5.0.0 on June 7, 2026 | Marketplace | Open VSX | Support
GitMind 5.0
Verified against GitMind 5.0.0 on June 7, 2026.
- Home
- Installation And Quick Start
- Providers And Models
- Generating Commit Messages
- Complete Settings Reference
- Commit Styles And Emoji
- GitMind Pro
- Activation And License Management
- Automatic Recovery
- Security And Privacy
- Advanced Pro Features
- Changelog Generation
- Custom API Guide
- Troubleshooting And FAQ
- Support And Requests
- Coverage Audit