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 05cbbd5 commit adb6331Copy full SHA for adb6331
2 files changed
crates/rmcp/src/model/content.rs
@@ -297,7 +297,7 @@ impl ContentBlock {
297
ContentBlock::Resource(EmbeddedResource::new(
298
ResourceContents::TextResourceContents {
299
uri: uri.into(),
300
- mime_type: Some("text".to_string()),
+ mime_type: Some("text/plain".to_string()),
301
text: content.into(),
302
meta: None,
303
},
crates/rmcp/src/model/resource.rs
@@ -193,7 +193,7 @@ impl ResourceContents {
193
pub fn text(text: impl Into<String>, uri: impl Into<String>) -> Self {
194
Self::TextResourceContents {
195
196
- mime_type: Some("text".into()),
+ mime_type: Some("text/plain".into()),
197
text: text.into(),
198
199
}
0 commit comments