mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
ad1058d78d
- Read compaction support and accepted thinking modes from the Anthropic Models API. - Infer system-message updates, preserved-thinking prefix binding, adaptive-only thinking, and temperature restrictions from Claude family and version. Keep fast mode and forced tool choice on explicit model lists. - Use an advertised thinking-off mode when available; otherwise retain model-specific fallbacks for missing metadata and let models without an off mode use their default. - Cover family cutoffs, future model IDs, and request serialization in regression tests. Validation: 49 Anthropic unit tests, `cargo check -p language_models`, formatting, and `git diff --check` passed. Release Notes: - Improved compatibility with new Claude models and kept Inline Assist working on models that cannot turn thinking off.