Adopt server examples

This commit is contained in:
Christopher Hertel 2025-08-17 02:46:01 +02:00
commit 2ef051a355
No known key found for this signature in database
GPG key ID: 111F6BFF7B6B5AA3

View file

@ -64,7 +64,7 @@ class ListPromptsResult implements ResultInterface
public function jsonSerialize(): array
{
$result = [
'prompts' => $this->prompts,
'prompts' => array_values($this->prompts),
];
if ($this->nextCursor) {