# collab: Adjust maximum spending limit check \(\#25596\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7f166298db8f76fa6e2c64ead20e892821709de3)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7f166298db8f76fa6e2c64ead20e892821709de3

Requested commit: 7f166298db8f76fa6e2c64ead20e892821709de3

Commit: 7f166298db8f76fa6e2c64ead20e892821709de3

Tree: 4314147e01909e3b5cd60510a904c73b36e50006

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Adjust maximum spending limit check (#25596)

This is a follow-up to https://github.com/zed-industries/zed/pull/25573.

We were still using the spend for a particular model when determining if
the user was over their maximum monthly spend instead of looking at the
usage across all models.

Release Notes:

- N/A
```

## Parents

- [0066071a8977c47609bf2a91fb25aa83c0caf0a3](https://git.cafe/gitcafe/zed/commit/0066071a8977c47609bf2a91fb25aa83c0caf0a3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7f166298db8f76fa6e2c64ead20e892821709de3?format=markdown)
