MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_model

Method with_model

core/src/agent_api/session_options.rs:74–77  ·  view source on GitHub ↗
(mut self, model: impl Into<String>)

Source from the content-addressed store, hash-verified

72 }
73
74 pub fn with_model(mut self, model: impl Into<String>) -> Self {
75 self.model = Some(model.into());
76 self
77 }
78
79 pub fn with_agent_dir(mut self, dir: impl Into<PathBuf>) -> Self {
80 self.agent_dirs.push(dir.into());

Calls

no outgoing calls