Files
CyberSecurityUP d957429c09 feat(models): add Azure OpenAI provider + GOOGLE_API_KEY alias for Gemini
Resolves the only two open issues that still apply to the Rust build:
- #21 Azure OpenAI: new `azure` provider (OpenAI-compatible). Endpoint comes
  from AZURE_OPENAI_ENDPOINT, api-version from AZURE_OPENAI_API_VERSION
  (default 2024-10-21); the model name is the Azure deployment; auth uses the
  `api-key` header instead of Bearer. Use `--model azure:<deployment>`.
- #25 Gemini key confusion: GEMINI_API_KEY now also accepts GOOGLE_API_KEY
  (Google's standard env var) as an alias; local providers (ollama/litellm)
  require no key. .env.example documents both.

Kept under the v3.5.2 line (additive provider support).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:17:25 -03:00

61 lines
1.9 KiB
Bash
Executable File

# NeuroSploit v3.5.1 — environment / API keys (optional)
# ------------------------------------------------------------------
# You only need this for the API-key auth path. If you log in with a
# local subscription CLI instead (--subscription with Claude / Codex /
# Gemini / Grok), you don't need any key here.
#
# Set the key(s) for the providers you use, then load and run:
# set -a; . ./.env; set +a
# neurosploit run http://target --model anthropic:claude-opus-4-8 -v
#
# Provider prefix -> env var (use as `--model <prefix>:<model>`).
# anthropic: https://console.anthropic.com/
ANTHROPIC_API_KEY=
# openai: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# gemini: https://aistudio.google.com/app/apikey
# (GOOGLE_API_KEY is also accepted as an alias if GEMINI_API_KEY is unset)
GEMINI_API_KEY=
#GOOGLE_API_KEY=
# azure: Azure OpenAI (OpenAI-compatible). Use `--model azure:<deployment>`
# (the model name is your Azure *deployment* name).
#AZURE_OPENAI_API_KEY=
#AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
#AZURE_OPENAI_API_VERSION=2024-10-21
# xai: https://console.x.ai/
XAI_API_KEY=
# nvidia_nim: https://build.nvidia.com/ (keys look like nvapi-...)
NVIDIA_NIM_API_KEY=
# deepseek: https://platform.deepseek.com/
DEEPSEEK_API_KEY=
# mistral: https://console.mistral.ai/
MISTRAL_API_KEY=
# qwen: https://dashscope-intl.aliyuncs.com/ (Alibaba DashScope)
DASHSCOPE_API_KEY=
# groq: https://console.groq.com/keys
GROQ_API_KEY=
# together: https://api.together.xyz/settings/api-keys
TOGETHER_API_KEY=
# openrouter: https://openrouter.ai/keys
OPENROUTER_API_KEY=
# ollama: local, no key needed. Override the endpoint if not default:
#OLLAMA_BASE_URL=http://localhost:11434/v1
# litellm: point at your LiteLLM proxy (OpenAI-compatible). Route any
# model through it as `--model litellm:<model>`.
#LITELLM_BASE_URL=http://localhost:4000/v1
LITELLM_API_KEY=