Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab: Add `is_staff` to upstream rate limit spans (#16463)
Marshall Bowersde41c151c8ed
diff --git a/crates/collab/src/llm.rs b/crates/collab/src/llm.rsindex cf254a42eeb..3f5c864aae8 100644--- a/crates/collab/src/llm.rs+++ b/crates/collab/src/llm.rs@@ -249,6 +249,7 @@ async fn perform_completion(if let Some(rate_limit_info) = rate_limit_info {tracing::info!(target: "upstream rate limit",+ is_staff = claims.is_staff,provider = params.provider.to_string(),model = model,tokens_remaining = rate_limit_info.tokens_remaining,