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

Method with_top_p

crates/opencode-provider/src/message.rs:233–236  ·  view source on GitHub ↗
(mut self, top_p: f32)

Source from the content-addressed store, hash-verified

231 }
232
233 pub fn with_top_p(mut self, top_p: f32) -> Self {
234 self.top_p = Some(top_p);
235 self
236 }
237
238 pub fn with_stream(mut self, stream: bool) -> Self {
239 self.stream = Some(stream);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected