Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

refactor(llm): remove unused temperature parameter from LLMConfig

Ahmed Allam478bf5d4d3b5
diff --git a/strix/llm/config.py b/strix/llm/config.py
index 8bb6410b..ea7163a1 100644
--- a/strix/llm/config.py
+++ b/strix/llm/config.py
@@ -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 []