MCPcopy Index your code
hub / github.com/AI45Lab/Code / with_agent_dir

Method with_agent_dir

core/src/agent_api/session_options.rs:79–82  ·  view source on GitHub ↗
(mut self, dir: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

77 }
78
79 pub fn with_agent_dir(mut self, dir: impl Into<PathBuf>) -> Self {
80 self.agent_dirs.push(dir.into());
81 self
82 }
83
84 /// Register a cattle-style worker with this session's task delegation registry.
85 pub fn with_worker_agent(mut self, spec: WorkerAgentSpec) -> Self {

Callers 4

sessionMethod · 0.80

Calls

no outgoing calls

Tested by 1