Skip to content

Commit

Permalink
Set temperature to None by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Feb 6, 2025
1 parent ca4adb0 commit 9ebf6a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/controlflow/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ def _validate_pretty_print_agent_events(cls, data: dict) -> dict:
default="openai/gpt-4o",
description="The default LLM model for agents.",
)
llm_temperature: float = Field(0.7, description="The temperature for LLM sampling.")
llm_temperature: float | None = Field(
None, description="The temperature for LLM sampling."
)
max_input_tokens: int = Field(
100_000, description="The maximum number of tokens to send to an LLM."
)
Expand Down

0 comments on commit 9ebf6a4

Please sign in to comment.