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

Method with_temperature

core/src/llm/factory.rs:102–105  ·  view source on GitHub ↗
(mut self, temperature: f32)

Source from the content-addressed store, hash-verified

100 }
101
102 pub fn with_temperature(mut self, temperature: f32) -> Self {
103 self.temperature = Some(temperature);
104 self
105 }
106
107 pub fn with_max_tokens(mut self, max_tokens: usize) -> Self {
108 self.max_tokens = Some(max_tokens);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected