Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
context_server: Fix casing of `mimeType` in tool responses (#30703)
Jonathan LEI49f3ec7f355e
diff --git a/crates/context_server/src/types.rs b/crates/context_server/src/types.rsindex a2877591259..83f08218f3b 100644--- a/crates/context_server/src/types.rs+++ b/crates/context_server/src/types.rs@@ -604,7 +604,7 @@ pub struct CallToolResponse {pub enum ToolResponseContent {#[serde(rename = "text")]Text { text: String },- #[serde(rename = "image")]+ #[serde(rename = "image", rename_all = "camelCase")]Image { data: String, mime_type: String },#[serde(rename = "resource")]Resource { resource: ResourceContents },