mirror of
https://github.com/usestrix/strix.git
synced 2026-09-07 08:25:56 +00:00
refactor(llm): remove unused temperature parameter from LLMConfig
This commit is contained in:
parent
7420734168
commit
1eab5f32e1
1 changed files with 0 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ class LLMConfig:
|
|||
def __init__(
|
||||
self,
|
||||
model_name: str | None = None,
|
||||
temperature: float = 0,
|
||||
enable_prompt_caching: bool = True,
|
||||
prompt_modules: list[str] | None = None,
|
||||
timeout: int | None = None,
|
||||
|
|
@ -15,7 +14,6 @@ class LLMConfig:
|
|||
if not self.model_name:
|
||||
raise ValueError("STRIX_LLM environment variable must be set and not empty")
|
||||
|
||||
self.temperature = max(0.0, min(1.0, temperature))
|
||||
self.enable_prompt_caching = enable_prompt_caching
|
||||
self.prompt_modules = prompt_modules or []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue