testgenius-ai / backend /.env.example
Muthukumarank's picture
Add backend/.env.example β€” universal LLM provider + complete API
03127d5 verified
Raw
History Blame Contribute Delete
1.94 kB
# ═══════════════════════════════════════════════════════════════
# TestGenius AI β€” Environment Configuration
# ═══════════════════════════════════════════════════════════════
# Copy to .env and configure your LLM provider.
# Works with ANY OpenAI-compatible API.
# ─── LLM Provider (REQUIRED) ───────────────────────────────
# Set your preferred provider's base URL, key, and model.
#
# Examples:
# Groq: https://api.groq.com/openai/v1 | llama-3.3-70b-versatile
# Featherless: https://api.featherless.ai/v1 | meta-llama/Meta-Llama-3.1-70B-Instruct
# OpenAI: https://api.openai.com/v1 | gpt-4o-mini
# Together: https://api.together.xyz/v1 | meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
# DeepSeek: https://api.deepseek.com/v1 | deepseek-chat
# OpenRouter: https://openrouter.ai/api/v1 | meta-llama/llama-3.1-70b-instruct
# Mistral: https://api.mistral.ai/v1 | mistral-large-latest
# Ollama: http://localhost:11434/v1 | llama3.1
# LM Studio: http://localhost:1234/v1 | local-model
LLM_BASE_URL=https://api.groq.com/openai/v1
LLM_API_KEY=
LLM_MODEL=llama-3.3-70b-versatile
LLM_MAX_TOKENS=8192
LLM_TEMPERATURE=0.3
# ─── Server ────────────────────────────────────────────────
HOST=0.0.0.0
PORT=8000
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# ─── Optional: Frontend URL (for CORS) ────────────────────
FRONTEND_URL=http://localhost:5173