Spaces:
Runtime error
Runtime error
File size: 1,601 Bytes
790b5af 9a49d21 5857a45 790b5af | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | # Environment Configuration Template
# Copy this to .env and fill in your API keys
# === LLM Providers ===
# OpenRouter (Primary - supports OpenAI, Claude, Gemini models)
OPENROUTER_API_KEY=your_openrouter_api_key_here
# === Search APIs ===
# Tavily (Primary - AI-native search for agents)
TAVILY_API_KEY=your_tavily_api_key_here
# Brave Search (Optional - backup search)
# BRAVE_SEARCH_API_KEY=your_brave_api_key_here
# === Observability# === LangSmith (Observability - OPTIONAL but recommended for production) ===
# Sign up: https://smith.langchain.com
# Free tier: 5K traces/month
LANGSMITH_API_KEY=your_langsmith_key_here
LANGCHAIN_TRACING=true
LANGCHAIN_PROJECT=market-intelligence-prod
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
# === Application Settings ===
# Environment: development, production
ENVIRONMENT=development
# Default LLM model (via OpenRouter)
# FREE for testing (avoid costs during development):
DEFAULT_MODEL=x-ai/grok-4.1-fast:free
# Other free: meta-llama/llama-3.3-70b-instruct:free
#
# CHEAP for testing:
# DEFAULT_MODEL=openai/gpt-5-nano # $0.05/$0.40 per 1M tokens
# DEFAULT_MODEL=openai/gpt-5-mini # $0.25/$2.00 per 1M tokens
# DEFAULT_MODEL=google/gemini-2.5-flash-lite # $0.10/$0.40 per 1M tokens
#
# PRODUCTION (best for final app):
# DEFAULT_MODEL=anthropic/claude-sonnet-4.5 # $3/$15 per 1M (best code/reasoning)
# DEFAULT_MODEL=google/gemini-3-pro-preview # $2/$12 per 1M (enterprise credibility)
# Cost limits
MAX_COST_PER_RUN=2.0 # USD
# === Optional: Local LLM (Ollama) ===
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=gemma3:latest |