Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
copilot: Remove PromptTokensDetails from Usage struct (#33029)
Umesh Yadav1f736ed6938e
diff --git a/crates/copilot/src/copilot_chat.rs b/crates/copilot/src/copilot_chat.rsindex 54b82175961..19cff56c911 100644--- a/crates/copilot/src/copilot_chat.rs+++ b/crates/copilot/src/copilot_chat.rs@@ -318,15 +318,9 @@ pub struct ResponseEvent {pub struct Usage {pub completion_tokens: u64,pub prompt_tokens: u64,- pub prompt_tokens_details: PromptTokensDetails,pub total_tokens: u64,}-#[derive(Deserialize, Debug)]-pub struct PromptTokensDetails {- pub cached_tokens: u64,-}-#[derive(Debug, Deserialize)]pub struct ResponseChoice {pub index: usize,