Reverting back to claude as default
This commit is contained in:
@@ -30,7 +30,7 @@ Strix are autonomous AI agents that act just like real hackers - they run your c
|
|||||||
pipx install strix-agent
|
pipx install strix-agent
|
||||||
|
|
||||||
# Configure AI provider
|
# 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"
|
export LLM_API_KEY="your-api-key"
|
||||||
|
|
||||||
# Run security assessment
|
# Run security assessment
|
||||||
@@ -93,7 +93,7 @@ strix --target api.your-app.com --instruction "Prioritize authentication and aut
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Required
|
# Required
|
||||||
export STRIX_LLM="openai/gpt-5"
|
export STRIX_LLM="anthropic/claude-opus-4-1-20250805"
|
||||||
export LLM_API_KEY="your-api-key"
|
export LLM_API_KEY="your-api-key"
|
||||||
|
|
||||||
# Recommended
|
# Recommended
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ def validate_environment() -> None:
|
|||||||
error_text.append("• ", style="white")
|
error_text.append("• ", style="white")
|
||||||
error_text.append("STRIX_LLM", style="bold cyan")
|
error_text.append("STRIX_LLM", style="bold cyan")
|
||||||
error_text.append(
|
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",
|
style="white",
|
||||||
)
|
)
|
||||||
error_text.append("• ", 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("\nExample setup:\n", style="white")
|
||||||
error_text.append(
|
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")
|
error_text.append("export LLM_API_KEY='your-api-key-here'\n", style="dim white")
|
||||||
if missing_optional_vars:
|
if missing_optional_vars:
|
||||||
@@ -144,7 +144,7 @@ async def warm_up_llm() -> None:
|
|||||||
console = Console()
|
console = Console()
|
||||||
|
|
||||||
try:
|
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")
|
api_key = os.getenv("LLM_API_KEY")
|
||||||
|
|
||||||
if api_key:
|
if api_key:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class LLMConfig:
|
|||||||
enable_prompt_caching: bool = True,
|
enable_prompt_caching: bool = True,
|
||||||
prompt_modules: list[str] | None = None,
|
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:
|
if not self.model_name:
|
||||||
raise ValueError("STRIX_LLM environment variable must be set and not empty")
|
raise ValueError("STRIX_LLM environment variable must be set and not empty")
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ class MemoryCompressor:
|
|||||||
model_name: str | None = None,
|
model_name: str | None = None,
|
||||||
):
|
):
|
||||||
self.max_images = max_images
|
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:
|
if not self.model_name:
|
||||||
raise ValueError("STRIX_LLM environment variable must be set and not empty")
|
raise ValueError("STRIX_LLM environment variable must be set and not empty")
|
||||||
|
|||||||
Reference in New Issue
Block a user