ZIm/crates/language_model/src
Bennet Bo Fenner 41fe2a2ab4
agent: Disable thinking when using inline assistant/edit file tool (#34141)
This introduces a new field `thinking_allowed` on `LanguageModelRequest`
which lets us control whether thinking should be enabled if the model
supports it.
We permit thinking in the Inline Assistant, Edit File tool and the Git
Commit message generator, this should make generation faster when using
a thinking model, e.g. `claude-sonnet-4-thinking`

Release Notes:

- N/A
2025-07-09 18:05:39 +00:00
..
model language_model: Remove CloudModel enum (#31322) 2025-05-24 02:04:51 +00:00
fake_provider.rs Standardize on u64 for token counts (#32869) 2025-06-17 10:43:07 -04:00
language_model.rs agent: Fix max token count mismatch when not using burn mode (#34025) 2025-07-07 23:13:24 +02:00
rate_limiter.rs More resilient eval (#32257) 2025-06-09 18:07:22 +00:00
registry.rs agent: Improve error handling and retry for zed-provided models (#33565) 2025-06-30 21:01:32 -06:00
request.rs agent: Disable thinking when using inline assistant/edit file tool (#34141) 2025-07-09 18:05:39 +00:00
role.rs language_model: Remove dependencies on individual model provider crates (#25503) 2025-02-24 16:41:35 -05:00
telemetry.rs agent: Improve error handling and retry for zed-provided models (#33565) 2025-06-30 21:01:32 -06:00