Fix incorrect deserializer mapping for tool and prompt list notifications (#195)
This commit is contained in:
parent
d119871c15
commit
b0f075900a
1 changed files with 2 additions and 2 deletions
|
|
@ -178,8 +178,8 @@ internal fun selectServerNotificationDeserializer(element: JsonElement): Deseria
|
|||
Method.Defined.NotificationsMessage.value -> LoggingMessageNotification.serializer()
|
||||
Method.Defined.NotificationsResourcesUpdated.value -> ResourceUpdatedNotification.serializer()
|
||||
Method.Defined.NotificationsResourcesListChanged.value -> ResourceListChangedNotification.serializer()
|
||||
Method.Defined.ToolsList.value -> ToolListChangedNotification.serializer()
|
||||
Method.Defined.PromptsList.value -> PromptListChangedNotification.serializer()
|
||||
Method.Defined.NotificationsToolsListChanged.value -> ToolListChangedNotification.serializer()
|
||||
Method.Defined.NotificationsPromptsListChanged.value -> PromptListChangedNotification.serializer()
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue