php-sdk/tests/Unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
wWzZb 82aac972c1
[Schema][Server] feat: support sampling with tools (#409)
* feat: support sampling with tools

* address sampling tools review feedback

* tighten sampling tools spec compliance

* drop SamplingStopReason enum in favor of open string

The spec leaves stopReason open for provider-specific values, so upcasting
the four known ones to enum cases makes every future enum addition a silent
BC break for string comparisons.

---------

Co-authored-by: Christopher Hertel <mail@christopher-hertel.de>
2026-08-15 03:28:11 +02:00
..
Capability [Schema] Add resource_link content block (#400) 2026-08-14 23:20:56 +02:00
Client [Client][Schema][Server] Implement protocol version negotiation (#403) 2026-08-15 01:41:19 +02:00
Fixtures [Server] Handle malformed JSON-RPC input graceful (#412) 2026-08-14 22:34:01 +02:00
JsonRpc [Server] Handle malformed JSON-RPC input graceful (#412) 2026-08-14 22:34:01 +02:00
Schema [Schema][Server] feat: support sampling with tools (#409) 2026-08-15 03:28:11 +02:00
Server [Server] Add ClientGateway::supportsSampling() (#418) 2026-08-15 02:11:15 +02:00
ClientTest.php [Client] Implement setMaxRetries connection retries (#413) 2026-08-15 02:43:50 +02:00
ServerTest.php Update codestyle based on updated Symfony rules (#229) 2026-02-01 11:54:31 +01:00