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

Method with_token_count

core/src/context/mod.rs:208–211  ·  view source on GitHub ↗

Set the token count

(mut self, count: usize)

Source from the content-addressed store, hash-verified

206
207 /// Set the token count
208 pub fn with_token_count(mut self, count: usize) -> Self {
209 self.token_count = count;
210 self
211 }
212
213 /// Set the relevance score
214 pub fn with_relevance(mut self, score: f32) -> Self {

Calls

no outgoing calls