zed/crates/anthropic
Marshall Bowers ebdb755fef
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Surface upstream rate limits from Anthropic (#16118)
This PR makes it so hitting upstream rate limits from Anthropic result
in an HTTP 429 response instead of an HTTP 500.

To do this we need to surface structured errors out of the `anthropic`
crate.

Release Notes:

- N/A
2024-08-12 11:59:24 -04:00
..
src Surface upstream rate limits from Anthropic (#16118) 2024-08-12 11:59:24 -04:00
Cargo.toml Surface upstream rate limits from Anthropic (#16118) 2024-08-12 11:59:24 -04:00
LICENSE-AGPL Check license generation for every PR to avoid license-less crate additions (#10033) 2024-04-01 12:16:16 +03:00