collab: Include max input/output tokens per minute on "Language Model Rate Limited" event (#28108)

This PR adds the max input/output tokens per minute on the "Language
Model Rate Limited" event.

Missed this in https://github.com/zed-industries/zed/pull/28097.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-04-04 12:57:43 -04:00 committed by GitHub
parent cc9cc12f7b
commit 183f57f318
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -571,6 +571,8 @@ async fn check_usage_limit(
"users_in_recent_days": users_in_recent_days,
"max_requests_per_minute": per_user_max_requests_per_minute,
"max_tokens_per_minute": per_user_max_tokens_per_minute,
"max_input_tokens_per_minute": per_user_max_input_tokens_per_minute,
"max_output_tokens_per_minute": per_user_max_output_tokens_per_minute,
"max_tokens_per_day": per_user_max_tokens_per_day,
"plan": match claims.plan {
Plan::Free => "free".to_string(),