cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Agent class API - Documentation

Open dev-xo opened this issue 4 weeks ago • 0 comments

Example URL(s)

https://developers.cloudflare.com/agents/api-reference/agents-api/#agent-class-api

Actual Behavior

Setence:

You can also define your own methods on an Agent: it's technically valid to publish an Agent only has your own methods exposed, and create/get Agents directly from a Worker.


Expected Behavior

The original phrase may be grammatically broken because “only has” does not connect properly to “publish an Agent”. We need a relative clause, such as “that only has”.

Final result:

You can also define your own methods on an Agent: it's technically valid to publish an Agent that only has your own methods exposed, and create/get Agents directly from a Worker.


Additional information

Minor thing, not big deal. Feel free to close the issue if the original sentence was already in place :)

dev-xo avatar Dec 11 '25 05:12 dev-xo