mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-10-19 05:57:45 +02:00
Subscription runs were failing with "Invalid API key · Fix external API key": the claude/codex subscription CLIs inherit the harness environment, and a stray ANTHROPIC_API_KEY/OPENAI_API_KEY (e.g. a stale key saved in the web console) made them switch to API-key billing and reject the request. Strip those vars before spawning the CLI so the subscription login is always used on the CLI path (API-key users go through the HTTP path, unaffected). Also register claude-opus-4-6 in the anthropic model list — both the harness allowlist (so it's no longer auto-corrected to claude-opus-4-8) and the web console provider list. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>