We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb851a commit b6caa41Copy full SHA for b6caa41
kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types.util.kt
@@ -225,6 +225,7 @@ private fun selectClientResultDeserializer(element: JsonElement): Deserializatio
225
return when {
226
jsonObject.contains("model") -> CreateMessageResult.serializer()
227
jsonObject.contains("roots") -> ListRootsResult.serializer()
228
+ jsonObject.contains("action") -> CreateElicitationResult.serializer()
229
else -> null
230
}
231
0 commit comments