# IMPORTANT: Copy this file to .env.test and replace the placeholders with actual values
# ============================================================================
# TESTING ENVIRONMENT CONFIGURATION
# ============================================================================
# This file contains configuration for integration tests ONLY
# It is separate from your production .env file to avoid conflicts
#
# You can place the .env.test file in either:
# - The project root (./env.test)
# - The tests directory (tests/.env.test)
#
# The tests will check both locations, but .env.test will always take priority over .env
# Gateway URL (default: http://localhost:3000)
GATEWAY_URL=http://localhost:3000
# ElasticSearch Configuration - Required for metrics validation
ELASTICSEARCH_URL=http://localhost:9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=your_elasticsearch_password
ELASTICSEARCH_INDEX=ai-gateway-metrics
# Provider API Keys - Add keys for the providers you want to test
# ===============================================================
# At minimum, you need either OpenAI or Anthropic key to run the default tests
OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
# Optional provider keys - Only needed if you add tests for these providers
GROQ_API_KEY=your_groq_api_key
FIREWORKS_API_KEY=your_fireworks_api_key
TOGETHER_API_KEY=your_together_api_key
# AWS Bedrock Credentials - Only needed for Bedrock provider tests
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
AWS_REGION=us-east-1