ZIm/crates/language_model/src
Anthony Eid b349a8f34c
ai: Auto select user model when there's no default (#36722)
This PR identifies automatic configuration options that users can select
from the agent panel. If no default provider is set in their settings,
the PR defaults to the first recommended option. Additionally, it
updates the selected provider for a thread when a user changes the
default provider through the settings file, if the thread hasn't had any
queries yet.

Release Notes:

- agent: automatically select a language model provider if there's no
user set provider.

---------

Co-authored-by: Michael Sloan <michael@zed.dev>
2025-08-22 01:12:12 -04:00
..
model Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
fake_provider.rs agent2: Port retry logic (#36421) 2025-08-19 09:41:55 +00:00
language_model.rs Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
rate_limiter.rs More resilient eval (#32257) 2025-06-09 18:07:22 +00:00
registry.rs ai: Auto select user model when there's no default (#36722) 2025-08-22 01:12:12 -04:00
request.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
role.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
telemetry.rs agent: Improve error handling and retry for zed-provided models (#33565) 2025-06-30 21:01:32 -06:00