Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(inference): use field shorthand in ResolvedChat construction

Steven Enamakelee7870a325b2
diff --git a/crates/openhuman-core/src/inference/http/backend.rs b/crates/openhuman-core/src/inference/http/backend.rs
index 315a426f9e..2d6a119658 100644
--- a/crates/openhuman-core/src/inference/http/backend.rs
+++ b/crates/openhuman-core/src/inference/http/backend.rs
@@ -74,7 +74,7 @@ impl ChatBackend for HostChatBackend {
);
}
Ok(ResolvedChat {
- chat_model: chat_model,
+ chat_model,
model_id,
temperature: raw,
})