Linux 软件免费装
Banner图

bPlugins AI Provider Connectors

开发者 bplugins
abuhayat
更新时间 2026年10月11日 18:43
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

ai openrouter mistral connectors ai provider

下载

1.0.0

详情介绍:

AI Provider Connectors extends the WordPress AI Client and the core Connectors screen (Settings → Connectors) with four features: Bundled providers Already supported by Test Connection Non-AI connectors (such as Akismet) are not live-tested because they require provider-specific verification flows. Security and best practices Source code The full source code is developed in the open on GitHub: https://github.com/ah-polash/b-ai-provider-connectors

安装:

  1. Upload the b-ai-provider-connectors folder to the /wp-content/plugins/ directory, or install it from the Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Visit Settings → Connectors. The 11 bundled providers appear in the list alongside any AI Provider plugins you already have installed. Paste an API key into any of them, save, then click Test Connection to verify.
  4. Visit Settings → AI Providers to switch providers on or off, add custom OpenAI-compatible providers, and choose which provider is tried first.

常见问题:

Which WordPress version do I need?

WordPress 7.0 or newer — the plugin builds on the Connectors API and the AI Client that ship with core since 7.0.

Who can run the test or change the priority?

Only users with the manage_options capability.

Does the test send my API key anywhere new?

No. Each test re-uses the API key already stored for the connector (or supplied via an environment variable / PHP constant) and calls the same provider endpoint a normal client would use.

How does the test know if the key is valid?

Each provider exposes a lightweight endpoint that returns 200 for a valid key and 401/403 for an invalid one (Replicate uses Authorization: Token, all others use Authorization: Bearer). Perplexity has no public /models endpoint, so the test sends an intentionally-malformed chat/completions request and treats 400/422 (auth passed, payload invalid) as a valid key, 401 as invalid.

How do I hide a bundled provider I do not use?

Switch it off on Settings → AI Providers. Disabled providers disappear from the Connectors screen and are never used by AI features; any key you saved is kept in case you switch it back on.

Can I use a local model server?

Yes. Add a custom provider with the server's OpenAI-compatible base URL (for example http://localhost:11434/v1 for Ollama). If the server does not need a key, enter any placeholder on the Connectors screen.

Why do OpenRouter and Hugging Face verify keys differently?

Both publish their model list without authentication, so the AI Client's standard "list models" check would accept any key. This plugin verifies those two against an authenticated endpoint instead.

更新日志:

1.0.0