
外掛標籤
開發者團隊
② 後台搜尋「Nominal AI Provider for OpenCode」→ 直接安裝(推薦)
原文外掛簡介
Nominal AI Provider for OpenCode integrates OpenCode’s AI models into WordPress as a provider for the PHP AI Client SDK. Once activated, OpenCode is automatically registered as a provider — no manual configuration required. OpenCode provides access to several open-source models through a unified API, enabling text generation and chat history capabilities directly within your WordPress site.
Features
Text Generation — Use OpenCode’s language models for content creation, summarisation, analysis, and more.
Chat History — Maintain conversation context across multiple interactions.
Dynamic Model Discovery — Available models are fetched directly from the OpenCode API, so your plugin stays compatible with new releases automatically.
Automatic Provider Registration — Registers itself with the PHP AI Client on WordPress init; no manual wiring needed.
Requirements
PHP 7.4 or higher
For WordPress 6.9, the wordpress/php-ai-client package must be installed
For WordPress 7.0 and above, no additional changes are required
OpenCode API key
External Services
This plugin connects to the OpenCode API to provide AI capabilities within WordPress. Connection to this service is required to enable text generation, chat history, and dynamic model discovery features.
What data is sent and when:
Your OpenCode API key is sent with every request to authenticate with the service.
Any text prompts, messages, or content you submit for AI processing are sent to OpenCode’s servers.
A request is made to the OpenCode API to fetch available models when the plugin initializes.
Data is only transmitted when AI features are actively used.
Service provider: OpenCode
Website: https://opencode.ai/
API Base URL: https://opencode.ai/zen/go/v1
Terms of Service: https://opencode.ai/terms
