Skip to content

armgit / strix

Public Imported from GitHub
0

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

fix: add missing 'low' value to reasoning effort options

0xallam52aa763d47b4
diff --git a/strix/interface/main.py b/strix/interface/main.py
index 33fa44fe..f40c5a28 100644
--- a/strix/interface/main.py
+++ b/strix/interface/main.py
@@ -125,10 +125,10 @@ def validate_environment() -> None: # noqa: PLR0912, PLR0915
error_text.append("• ", style="white")
error_text.append("STRIX_REASONING_EFFORT", style="bold cyan")
error_text.append(
- " - Reasoning effort level: none, minimal, medium, high, xhigh (default: high)\n",
+ " - Reasoning effort level: none, minimal, low, medium, high, xhigh "
+ "(default: high)\n",
style="white",
)
- )
error_text.append("\nExample setup:\n", style="white")
error_text.append("export STRIX_LLM='openai/gpt-5'\n", style="dim white")
diff --git a/strix/llm/llm.py b/strix/llm/llm.py
index 3d6e0da5..816d6f2c 100644
--- a/strix/llm/llm.py
+++ b/strix/llm/llm.py
@@ -55,7 +55,7 @@ _LLM_API_BASE = (
)
_STRIX_REASONING_EFFORT = os.getenv(
"STRIX_REASONING_EFFORT"
-) # "none", "minimal", "medium", "high", or "xhigh"
+) # "none", "minimal", "low", "medium", "high", or "xhigh"
class LLMRequestFailedError(Exception):