Most compelling reason to make this change is that we don't have to ship a new Zed binary if Anthropic releases a new model Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - anthropic: Dynamically fetch available models from Anthropic API ---------
Showing the changes to docs/src (1 of 3 files). Show all
Unified · Split
| @@ -181,11 +181,6 @@ You can add custom models to the Anthropic provider by adding the following to y · 180 unmodified lines | |||
| 181 | "display_name": "Sonnet 2024-June", | 181 | "display_name": "Sonnet 2024-June", |
| 182 | "max_tokens": 128000, | 182 | "max_tokens": 128000, |
| 183 | "max_output_tokens": 2560, | 183 | "max_output_tokens": 2560, |
| 184 | "cache_configuration": { | ||
| 185 | "max_cache_anchors": 10, | ||
| 186 | "min_total_token": 10000, | ||
| 187 | "should_speculate": false | ||
| 188 | }, | ||
| 189 | "tool_override": "some-model-that-supports-toolcalling" | 184 | "tool_override": "some-model-that-supports-toolcalling" |
| 190 | } | 185 | } |
| 191 | ] | 186 | ] |