Skip to content

Commit e14b771

Browse files
authored
fix: payload should be prompts instead of resources (#28)
1 parent e25c2cb commit e14b771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/RequestHandler/PromptListHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(
2020
public function createResponse(Request|Notification $message): Response
2121
{
2222
return new Response($message->id, [
23-
'resources' => array_map(function (MetadataInterface $metadata) {
23+
'prompts' => array_map(function (MetadataInterface $metadata) {
2424
$result = [
2525
'name' => $metadata->getName(),
2626
];

0 commit comments

Comments
 (0)