Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab: Remove `has_predict_edits_feature_flag` from `LlmTokenClaims` (#28879)
Marshall Bowersbb0b2a5b7b8e
diff --git a/crates/collab/src/llm/token.rs b/crates/collab/src/llm/token.rsindex 0979ff13b49..067be930766 100644--- a/crates/collab/src/llm/token.rs+++ b/crates/collab/src/llm/token.rs@@ -25,7 +25,6 @@ pub struct LlmTokenClaims {pub is_staff: bool,pub has_llm_closed_beta_feature_flag: bool,pub bypass_account_age_check: bool,- pub has_predict_edits_feature_flag: bool,pub has_llm_subscription: bool,pub max_monthly_spend_in_cents: u32,pub custom_llm_monthly_allowance_in_cents: Option<u32>,@@ -70,9 +69,6 @@ impl LlmTokenClaims {bypass_account_age_check: feature_flags.iter().any(|flag| flag == "bypass-account-age-check"),- has_predict_edits_feature_flag: feature_flags- .iter()- .any(|flag| flag == "predict-edits"),has_llm_subscription: has_legacy_llm_subscription,max_monthly_spend_in_cents: billing_preferences.map_or(DEFAULT_MAX_MONTHLY_SPEND.0, |preferences| {