mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-03-31 08:29:52 +02:00
Fix: OpenRouter/Together/Fireworks detection + deprecated gpt-4-turbo-preview model
Issues fixed: - OpenRouter API key not recognized: _set_no_provider_error() now checks all 7 provider keys (was only checking Anthropic/OpenAI/Google), so users with only OPENROUTER_API_KEY set no longer get "No API keys configured" error - Error message now lists all 8 providers (added OpenRouter, Together, Fireworks) instead of only 5 (Anthropic, OpenAI, Google, Ollama, LM Studio) - gpt-4-turbo-preview (deprecated by OpenAI, 404 error) replaced with gpt-4o as default OpenAI model in LLMClient init and generate() fallback - Settings API model list updated: removed gpt-4-turbo-preview and o1-preview/mini, added gpt-4.1, gpt-4.1-mini, o3-mini - .env.example comment updated to reference gpt-4o instead of gpt-4-turbo Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -41,7 +41,7 @@ FIREWORKS_API_KEY=
|
||||
# Max output tokens (up to 64000 for Claude). Comment out for profile defaults.
|
||||
#MAX_OUTPUT_TOKENS=64000
|
||||
|
||||
# Select specific model name (e.g., claude-sonnet-4-20250514, gpt-4-turbo, llama3.2, qwen2.5)
|
||||
# Select specific model name (e.g., claude-sonnet-4-20250514, gpt-4o, llama3.2, qwen2.5)
|
||||
# Leave empty for provider default
|
||||
#DEFAULT_LLM_MODEL=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user