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

Method with_depth

core/src/context/mod.rs:130–133  ·  view source on GitHub ↗

Set the retrieval depth

(mut self, depth: ContextDepth)

Source from the content-addressed store, hash-verified

128
129 /// Set the retrieval depth
130 pub fn with_depth(mut self, depth: ContextDepth) -> Self {
131 self.depth = depth;
132 self
133 }
134
135 /// Set the maximum number of results
136 pub fn with_max_results(mut self, max: usize) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1