context_server: Add missing types for MCP spec to protocol 2024-11-05 (#21498)

This commit syncs missing types for the mcp spec 2024-11-05.

Release Notes:

- N/A
This commit is contained in:
David Soria Parra 2024-12-04 15:45:25 +00:00 committed by GitHub
parent d8732adfb2
commit 0ee99c6d9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 79 additions and 5 deletions

View file

@ -164,7 +164,7 @@ impl SlashCommand for ContextServerSlashCommand {
.messages
.into_iter()
.filter_map(|msg| match msg.content {
context_server::types::MessageContent::Text { text } => Some(text),
context_server::types::MessageContent::Text { text, .. } => Some(text),
_ => None,
})
.collect::<Vec<String>>()