History

anthropic: Dynamically fetch models from `/models` (#56397)

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 ---------

Bennet Bo Fenner committed 6 months ago

Commit ee309a01 parent 40d44443 files · +487 −500Browse files

Showing the changes to docs/src (1 of 3 files). Show all

Unified · Split

docs/src/ai/llm-providers.md+0−5
@@ -181,11 +181,6 @@ You can add custom models to the Anthropic provider by adding the following to y · 180 unmodified lines
181181 "display_name": "Sonnet 2024-June",
182182 "max_tokens": 128000,
183183 "max_output_tokens": 2560,
184− "cache_configuration": {
185− "max_cache_anchors": 10,
186− "min_total_token": 10000,
187− "should_speculate": false
188− },
189184 "tool_override": "some-model-that-supports-toolcalling"
190185 }
191186 ]