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

Method with_temperature

crates/opencode-agent/src/agent.rs:409–412  ·  view source on GitHub ↗
(mut self, temp: f32)

Source from the content-addressed store, hash-verified

407 }
408
409 pub fn with_temperature(mut self, temp: f32) -> Self {
410 self.temperature = Some(temp);
411 self
412 }
413
414 pub fn with_max_steps(mut self, steps: u32) -> Self {
415 self.max_steps = Some(steps);

Callers 1

generateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected