MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_temperature

Method with_temperature

crates/opencode-provider/src/message.rs:228–231  ·  view source on GitHub ↗
(mut self, temp: f32)

Source from the content-addressed store, hash-verified

226 }
227
228 pub fn with_temperature(mut self, temp: f32) -> Self {
229 self.temperature = Some(temp);
230 self
231 }
232
233 pub fn with_top_p(mut self, top_p: f32) -> Self {
234 self.top_p = Some(top_p);

Callers 1

Calls

no outgoing calls

Tested by 1