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

Method with_max_tokens

core/src/llm/factory.rs:107–110  ·  view source on GitHub ↗
(mut self, max_tokens: usize)

Source from the content-addressed store, hash-verified

105 }
106
107 pub fn with_max_tokens(mut self, max_tokens: usize) -> Self {
108 self.max_tokens = Some(max_tokens);
109 self
110 }
111
112 pub fn with_thinking_budget(mut self, budget: usize) -> Self {
113 self.thinking_budget = Some(budget);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected