ZIm/crates/language_model/src
tidely 7bdc99abc1
Fix clippy::redundant_clone lint violations (#36558)
This removes around 900 unnecessary clones, ranging from cloning a few
ints all the way to large data structures and images.

A lot of these were fixed using `cargo clippy --fix --workspace
--all-targets`, however it often breaks other lints and needs to be run
again. This was then followed up with some manual fixing.

I understand this is a large diff, but all the changes are pretty
trivial. Rust is doing some heavy lifting here for us. Once I get it up
to speed with main, I'd appreciate this getting merged rather sooner
than later.

Release Notes:

- N/A
2025-08-20 12:20:13 +02: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 agent: Improve error and warnings display (#36425) 2025-08-18 21:44:07 -03: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