Enable servers to send sampling messages to clients (#101)
This commit is contained in:
parent
67cc641247
commit
fb3c1e65a6
1 changed files with 460 additions and 137 deletions
|
|
@ -18,7 +18,7 @@ use Mcp\Schema\Enum\Role;
|
|||
* Describes a message issued to or received from an LLM API during sampling.
|
||||
*
|
||||
* @phpstan-type SamplingMessageData = array{
|
||||
* role: string,
|
||||
* role: 'user'|'assistant',
|
||||
* content: TextContent|ImageContent|AudioContent
|
||||
* }
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue