[wp-trac] [WordPress Trac] #64483: Core Abilities getting error when execution
WordPress Trac
noreply at wordpress.org
Mon Jan 19 22:55:12 UTC 2026
#64483: Core Abilities getting error when execution
-------------------------------------------------+-------------------------
Reporter: arkenon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: AI | Version: 6.9
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by jason_the_adams):
Hi @hbhalodia!
One of the PHP/WP AI Client maintainers here. 👋
I agree with @justlevine. This looks like an issue in the client, not
something wrong with the Abilities API itself.
I dug into this enough to determine that it's a bug happening in the PHP
AI Client in how we convert the model payload into a `Message`, in
particular how the arguments are turned into a `FunctionCall`. It's likely
misinterpreting an empty JSON object as an empty array, not realizing it
should be `null`.
Can you please tell me which provider you're testing with?
Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64483#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list