Linger AI Bridge for OpenAI-Compatible APIs

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

  1. Upload the plugin files to the /wp-content/plugins/linger-ai-bridge-for-openai-compatible-apis directory, or install the plugin ZIP through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Open Settings > Connectors and set the API key for Linger AI Bridge for OpenAI-Compatible APIs.
  4. Open Settings > Linger AI Bridge for OpenAI-Compatible APIs.
  5. 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 input field. This plugin adapts WordPress AI Client messages payloads into Responses API input payloads 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.

Contributors

Changelog

0.1.0

  • Initial release.