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

Method with_source_policy

core/src/context/assembler.rs:136–139  ·  view source on GitHub ↗
(mut self, policy: ContextSourcePolicy)

Source from the content-addressed store, hash-verified

134 }
135
136 pub fn with_source_policy(mut self, policy: ContextSourcePolicy) -> Self {
137 self.source_policy = policy;
138 self
139 }
140
141 pub fn with_default_budget() -> Self {
142 Self::from_policy(ContextAssemblyPolicy::balanced())

Calls

no outgoing calls