# Real LLM Integration Test Environment Variables
# Copy this file to .env and fill in your API keys
# =============================================================================
# Required API Keys
# =============================================================================
# OpenAI API Key
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your-openai-api-key-here
# Anthropic API Key
# Get from: https://console.anthropic.com/
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# Google Gemini API Key
# Get from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your-gemini-api-key-here
# DeepSeek API Key
# Get from: https://platform.deepseek.com/api_keys
DEEPSEEK_API_KEY=your-deepseek-api-key-here
# OpenRouter API Key
# Get from: https://openrouter.ai/keys
OPENROUTER_API_KEY=your-openrouter-api-key-here
# Groq API Key
# Get from: https://console.groq.com/keys
GROQ_API_KEY=your-groq-api-key-here
# xAI API Key
# Get from: https://console.x.ai/
XAI_API_KEY=your-xai-api-key-here
# =============================================================================
# Optional Base URL Overrides
# =============================================================================
# OpenAI Base URL Override (for proxies or custom endpoints)
# Default: https://api.openai.com/v1 - only used if this variable is set
# OPENAI_BASE_URL=https://your-proxy.com/v1
# Anthropic Base URL Override (for proxies or custom endpoints)
# Default: https://api.anthropic.com - only used if this variable is set
# ANTHROPIC_BASE_URL=https://your-proxy.com
# =============================================================================
# Usage Instructions
# =============================================================================
# 1. Copy this file to .env:
# cp .env.example .env
#
# 2. Fill in your API keys above
#
# 3. Load the environment variables:
# # Linux/macOS:
# source .env
#
# # Windows (PowerShell):
# Get-Content .env | ForEach-Object {
# if ($_ -match '^([^#][^=]+)=(.*)$') {
# [Environment]::SetEnvironmentVariable($matches[1], $matches[2])
# }
# }
#
# 4. Run the integration tests:
# cargo test test_all_available_providers -- --ignored --nocapture
#
# Or use the provided scripts:
# # Linux/macOS:
# ./scripts/run_integration_tests.sh
#
# # Windows:
# scripts\run_integration_tests.bat
# =============================================================================
# Notes
# =============================================================================
# - You don't need all API keys - tests will skip providers without keys
# - Some features may not be available for all API keys (this is normal)
# - Be careful with API costs - these tests make real API calls
# - Never commit your actual API keys to version control
# - Consider using separate API keys for testing vs production