File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ wp-cli/ai-command
33
44Interacts with the WordPress AI Client
55
6- [ ![ Testing] ( https://github.com/wp-cli/ai-command/actions/workflows/testing.yml/badge.svg )] ( https://github.com/wp-cli/ai-command/actions/workflows/testing.yml )
6+ [ ![ Testing] ( https://github.com/wp-cli/ai-command/actions/workflows/testing.yml/badge.svg )] ( https://github.com/wp-cli/ai-command/actions/workflows/testing.yml ) [ ![ Code Coverage ] ( https://codecov.io/gh/wp-cli/ai-command/branch/main/graph/badge.svg )] ( https://codecov.io/gh/wp-cli/ai-command/tree/main )
77
88Quick links: [ Using] ( #using ) | [ Installing] ( #installing ) | [ Contributing] ( #contributing ) | [ Support] ( #support )
99
@@ -157,6 +157,24 @@ wp ai generate <type> <prompt> [--model=<models>] [--provider=<provider>] [--tem
157157
158158
159159
160+ ### wp ai is-supported
161+
162+ Checks whether AI features are supported in the current environment.
163+
164+ ~~~
165+ wp ai is-supported
166+ ~~~
167+
168+ Exits with code 0 if AI features are supported, or code 1 if they are not.
169+
170+ ** EXAMPLES**
171+
172+ # Check if AI is supported
173+ $ wp ai is-supported
174+ Success: AI features are supported.
175+
176+
177+
160178### wp ai status
161179
162180Checks which AI capabilities are currently supported.
@@ -186,7 +204,7 @@ are available. Displays a table showing supported capabilities.
186204 # Check AI status
187205 $ wp ai status
188206 +------------------+-----------+
189- | Capability | Supported |
207+ | capability | supported |
190208 +------------------+-----------+
191209 | Text Generation | Yes |
192210 | Image Generation | No |
You can’t perform that action at this time.
0 commit comments