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

Method with_stream

crates/opencode-provider/src/message.rs:238–241  ·  view source on GitHub ↗
(mut self, stream: bool)

Source from the content-addressed store, hash-verified

236 }
237
238 pub fn with_stream(mut self, stream: bool) -> Self {
239 self.stream = Some(stream);
240 self
241 }
242
243 pub fn with_max_tokens(mut self, max_tokens: u64) -> Self {
244 self.max_tokens = Some(max_tokens);

Callers 2

generateMethod · 0.80

Calls

no outgoing calls

Tested by 1