-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
61 lines (39 loc) · 1.8 KB
/
Copy pathreadme.txt
File metadata and controls
61 lines (39 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=== OpenCode AI Provider ===
Contributors: fahimmurshed
Tags: ai, opencode, zen, artificial-intelligence, connector
Requires at least: 6.9
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
OpenCode AI Provider for the PHP AI Client SDK.
== Description ==
This plugin provides OpenCode Zen integration for the PHP AI Client SDK. It enables WordPress sites to use OpenCode Zen's curated, developer-optimized LLMs (such as DeepSeek models) for coding and text generation.
**Features:**
* Text generation with OpenCode Zen models
* Function calling support
* Web search support
* Automatic provider registration
Available models are dynamically discovered from the OpenCode Zen API `/models` endpoint.
**Requirements:**
* PHP 7.4 or higher
* WordPress AI Client plugin installed and activated
* OpenCode Zen API key
== Installation ==
1. Upload the plugin files to `/wp-content/plugins/opencode-ai-provider/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Configure your OpenCode Zen API key via the `OPENCODE_API_KEY` environment variable or constant
== Frequently Asked Questions ==
= How do I get an OpenCode Zen API key? =
Visit [opencode.ai](https://opencode.ai) to create an account and generate an API key.
= Does this plugin work without the PHP AI Client? =
No, this plugin requires the PHP AI Client plugin to be installed and activated. It provides the OpenCode Zen specific implementation that the PHP AI Client uses.
== Privacy Policy ==
See the OpenCode privacy policy: https://opencode.ai/legal/privacy-policy
== Terms of Use ==
See the OpenCode terms of service: https://opencode.ai/legal/terms-of-service
== Changelog ==
= 1.0.0 =
* Initial release
* Support for OpenCode Zen coding text generation models