MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / with_temperature

Method with_temperature

core/src/agents.rs:76–79  ·  view source on GitHub ↗

Set temperature

(mut self, temperature: f32)

Source from the content-addressed store, hash-verified

74
75 /// Set temperature
76 pub fn with_temperature(mut self, temperature: f32) -> Self {
77 self.temperature = Some(temperature);
78 self
79 }
80
81 /// Set agent ID explicitly
82 pub fn with_id(mut self, id: AgentId) -> Self {

Callers 15

__anext__Method · 0.45
complete_batchMethod · 0.45
chat_optimizedMethod · 0.45
__anext__Method · 0.45
streaming_responseMethod · 0.45
build_llm_requestMethod · 0.45
execute_internalMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_openai_llmFunction · 0.36
test_anthropic_llmFunction · 0.36
test_huggingface_llmFunction · 0.36
test_perplexity_llmFunction · 0.36
test_deepseek_llmFunction · 0.36
test_ollama_llmFunction · 0.36
test_togetherai_llmFunction · 0.36
test_azurellm_with_toolsFunction · 0.36