Description
Linger AI Bridge for OpenAI-Compatible APIs registers an AI provider for the WordPress AI Client. It lets site administrators configure a shared API base URL, an API key through WordPress Connectors, and multiple text generation models for a service that exposes OpenAI-compatible endpoints.
This plugin is not affiliated with, endorsed by, sponsored by, or officially connected to OpenAI.
Each model can use one of two endpoint types:
- Responses-compatible endpoint:
/v1/responses - Chat Completions-compatible endpoint:
/v1/chat/completions
For Responses-compatible models, the plugin adapts WordPress AI Client chat-style prompt payloads into the Responses API input format, then adapts Responses API output back into the chat-style response shape expected by the WordPress AI Client.
External Services
This plugin sends text generation requests to the API endpoint configured by the site administrator. The plugin does not contact an AI service until an administrator enters an API base URL and configures credentials.
Data sent to the configured service can include prompt text, system instructions, model configuration, and any other request fields provided by the WordPress AI Client for text generation.
If the configured endpoint is OpenAI’s API, usage is subject to OpenAI’s terms and privacy policy:
- Terms: https://openai.com/policies/terms-of-use
- Privacy policy: https://openai.com/policies/privacy-policy
If another OpenAI-compatible gateway is configured, usage is subject to that service provider’s terms and privacy policy.
Installation
- Upload the plugin files to the
/wp-content/plugins/linger-ai-bridge-for-openai-compatible-apisdirectory, or install the plugin ZIP through the WordPress Plugins screen. - Activate the plugin through the
Pluginsscreen in WordPress. - Open
Settings > Connectorsand set the API key forLinger AI Bridge for OpenAI-Compatible APIs. - Open
Settings > Linger AI Bridge for OpenAI-Compatible APIs. - Configure the API base URL and enabled model list.
FAQ
-
Does this plugin require an API key?
-
It requires an API key for the OpenAI-compatible service configured by the site administrator.
-
Where is the API key stored?
-
The API key is stored through the WordPress Connectors settings for this provider. For local development, the plugin can also read
LINGER_AI_BRIDGE_FOR_OPENAI_COMPATIBLE_APIS_API_KEY. -
Why do I see “input is required”?
-
That error means a Responses API request was sent without the required
inputfield. This plugin adapts WordPress AI Clientmessagespayloads into Responses APIinputpayloads for models configured to use/v1/responses. -
Can I use a local gateway?
-
Yes. Configure the base URL as a full HTTP URL such as
http://localhost:1234/v1.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Linger AI Bridge for OpenAI-Compatible APIs” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Linger AI Bridge for OpenAI-Compatible APIs” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1.0
- Initial release.