From 5207cdc90c20630f363c1ed720281d8a4f71d34d Mon Sep 17 00:00:00 2001 From: Ahmed Allam Date: Mon, 11 Aug 2025 18:28:46 -0700 Subject: [PATCH] Reverting back to claude as default --- README.md | 4 ++-- strix/cli/main.py | 6 +++--- strix/llm/config.py | 2 +- strix/llm/memory_compressor.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 72ed229..cefd1e9 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Strix are autonomous AI agents that act just like real hackers - they run your c pipx install strix-agent # Configure AI provider -export STRIX_LLM="openai/gpt-5" +export STRIX_LLM="anthropic/claude-opus-4-1-20250805" export LLM_API_KEY="your-api-key" # Run security assessment @@ -93,7 +93,7 @@ strix --target api.your-app.com --instruction "Prioritize authentication and aut ```bash # Required -export STRIX_LLM="openai/gpt-5" +export STRIX_LLM="anthropic/claude-opus-4-1-20250805" export LLM_API_KEY="your-api-key" # Recommended diff --git a/strix/cli/main.py b/strix/cli/main.py index a44c527..3798bea 100644 --- a/strix/cli/main.py +++ b/strix/cli/main.py @@ -74,7 +74,7 @@ def validate_environment() -> None: error_text.append("• ", style="white") error_text.append("STRIX_LLM", style="bold cyan") error_text.append( - " - Model name to use with litellm (e.g., 'openai/gpt-5')\n", + " - Model name to use with litellm (e.g., 'anthropic/claude-opus-4-1-20250805')\n", style="white", ) error_text.append("• ", style="white") @@ -92,7 +92,7 @@ def validate_environment() -> None: error_text.append("\nExample setup:\n", style="white") error_text.append( - "export STRIX_LLM='openai/gpt-5'\n", style="dim white" + "export STRIX_LLM='anthropic/claude-opus-4-1-20250805'\n", style="dim white" ) error_text.append("export LLM_API_KEY='your-api-key-here'\n", style="dim white") if missing_optional_vars: @@ -144,7 +144,7 @@ async def warm_up_llm() -> None: console = Console() try: - model_name = os.getenv("STRIX_LLM", "openai/gpt-5") + model_name = os.getenv("STRIX_LLM", "anthropic/claude-opus-4-1-20250805") api_key = os.getenv("LLM_API_KEY") if api_key: diff --git a/strix/llm/config.py b/strix/llm/config.py index 9428e12..6e8b814 100644 --- a/strix/llm/config.py +++ b/strix/llm/config.py @@ -9,7 +9,7 @@ class LLMConfig: enable_prompt_caching: bool = True, prompt_modules: list[str] | None = None, ): - self.model_name = model_name or os.getenv("STRIX_LLM", "openai/gpt-5") + self.model_name = model_name or os.getenv("STRIX_LLM", "anthropic/claude-opus-4-1-20250805") if not self.model_name: raise ValueError("STRIX_LLM environment variable must be set and not empty") diff --git a/strix/llm/memory_compressor.py b/strix/llm/memory_compressor.py index be0c785..28d19eb 100644 --- a/strix/llm/memory_compressor.py +++ b/strix/llm/memory_compressor.py @@ -145,7 +145,7 @@ class MemoryCompressor: model_name: str | None = None, ): self.max_images = max_images - self.model_name = model_name or os.getenv("STRIX_LLM", "openai/gpt-5") + self.model_name = model_name or os.getenv("STRIX_LLM", "anthropic/claude-opus-4-1-20250805") if not self.model_name: raise ValueError("STRIX_LLM environment variable must be set and not empty")