Linux 软件免费装
Banner图

Nominal AI Provider for OpenCode

开发者 thaikolja
更新时间 2026年7月26日 00:27
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai connector provider artificial-intelligence opencode

下载

1.0.0

详情介绍:

The PHP AI Client gives WordPress a standard way to communicate with AI providers, but it needs a provider-specific implementation for each service. This plugin fills that gap for OpenCode: it knows the correct API endpoints, handles authentication, and translates between WordPress and OpenCode's API so your site can generate text, maintain chat history, and discover available models automatically. Once activated, the plugin registers itself with the PHP AI Client on WordPress startup. There are no settings screens, no configuration forms, and no manual wiring. It's intentionally zero-config. Features Requirements

安装:

  1. Upload the plugin folder to /wp-content/plugins/ on your server. Or use the WordPress plugin uploader if you're fancy.
  2. Activate the plugin through the Plugins screen in WordPress. Click the button. You know the drill.
  3. (Optional but recommended) Add your OpenCode API key to wp-config.php: define( 'OPENCODE_API_KEY', 'your-api-key-here' ); Replace your-api-key-here with your actual key. I shouldn't have to say this, but someone will paste it verbatim and then wonder why it doesn't work.
That's it. Three steps. If you can't handle that, maybe AI isn't your biggest problem.

升级注意事项:

1.0.0 Initial release — nothing to upgrade from.

常见问题:

How do I get an OpenCode API key?

Go to opencode.ai, sign up for either the "Go" or "Zen" plan, and generate a key from your dashboard. It's free (well, as free as these things ever are). The key tells OpenCode "yes, this person is allowed to use me" every time the plugin makes a request.

Does this plugin work without the PHP AI Client?

No. That's like asking if a USB cable works without a computer. The PHP AI Client is the thing that uses this plugin. If you're on WordPress 6.9, you need to install it. If you're on WordPress 7.0+, it's already there. No, I can't make it work without it. Yes, I've tried.

What models are available?

The plugin asks OpenCode's API for the current model list, so it changes over time. At the time of writing, you get models like DeepSeek-V4-Pro, DeepSeek-V4-Flash, GLM-5.1, GLM-5, Hy3 Preview, Kimi-K2.6, Kimi-K2.5, Mimo-V2-Pro, Mimo-V2-Omni, Mimo-V2.5-Pro, Mimo-V2.5, MiniMax-M3, MiniMax-M2.7, MiniMax-M2.5, Qwen3.7-Max, Qwen3.7-Plus, Qwen3.6-Plus, and Qwen3.5-Plus. New models show up automatically. Old ones might disappear. Such is life in the AI world. Don't get attached.

更新日志:

1.0.0