
內容簡介
DuoPort Connector for OpenCode 外掛可將 OpenCode 的兩個 AI 服務提供者(OpenCode Go 和 OpenCode Zen)整合至 WordPress 7.0 AI 客戶端,讓使用者能輕鬆使用 AI 模型生成文本,提升網站互動性。
【主要功能】
• 自動發現兩個 AI 提供者
• 允許清單中的聊天/完成模型
• 免費模型標示為 (Free)
• 可用性探測與暫存快取
• 設定頁面可切換顯示所有模型
外掛標籤
開發者團隊
② 後台搜尋「DuoPort Connector for OpenCode」→ 直接安裝(推薦)
原文外掛簡介
Registers two AI providers — OpenCode Go (subscription catalog) and OpenCode Zen (pay-as-you-go catalog including free models) — with the WordPress 7.0 AI Client. Enter your API key in both the Go and Zen fields on Settings → Connectors; the same opencode.ai key works for both catalogs.
This plugin is not affiliated with or endorsed by OpenCode (Anomaly Innovations, Inc.).
Features
Two providers (opencode-go / opencode-zen) auto-discovered by the Connectors screen.
Allowlisted chat/completions models per catalog — verified against the OpenCode /models API.
Free models labeled (Free) in the model picker (Zen catalog).
Availability probe with transient caching — validates key without calling /models.
Show all models toggle on Settings → DuoPort Connector (off by default).
External Services
This plugin connects to the OpenCode API (https://opencode.ai) to list models, check availability, and generate text.
Your API key is sent with every request.
Prompts and messages you submit for generation are sent to OpenCode’s servers.
Model list is fetched from https://opencode.ai/zen/go/v1/models and https://opencode.ai/zen/v1/models.
Availability is validated by a chat/completions probe (max_tokens: 1).
See https://opencode.ai/legal/terms-of-service for terms and https://opencode.ai/legal/privacy-policy for privacy policy.
