chore(agents): drop a needless borrow that clippy rejects

crates/ide-agent/src/lib.rs passed `&prompt` where `prompt` is already a reference, which
`cargo clippy -- -D warnings` (needless_borrow) rejects since #3444.
Цей коміт міститься в:
l0ng-ai committed 2026-11-17 00:29:11 +08:00
1 джерело ab1a4db606
коміт fef5fd10e1
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -2039,7 +2039,7 @@ impl Task {
if !prompt.images.is_empty() && !live.capabilities.images {
return Err(Failure::from("This agent can't read images.".to_owned()));
}
content = self.content(&live, &prompt).await;
content = self.content(&live, prompt).await;
result = live
.peer
.request("session/prompt", json!({ "sessionId": live.session, "prompt": content }), None)