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

Method with_model

crates/opencode-session/src/prompt.rs:2736–2739  ·  view source on GitHub ↗
(mut self, model: ModelRef)

Source from the content-addressed store, hash-verified

2734 }
2735
2736 pub fn with_model(mut self, model: ModelRef) -> Self {
2737 self.model = Some(model);
2738 self
2739 }
2740
2741 pub async fn execute(
2742 &self,

Calls

no outgoing calls

Tested by

no test coverage detected