# phi-agent LLM configuration
#
# Copy this file to .env and fill in your credentials:
# cp .env.example .env
#
# For detailed configuration, see: guide/configuration.md
# ── Required ──
# Your LLM API key. Also accepts OPENAI_API_KEY as fallback.
LLM_API_KEY=sk-your-key-here
# ── Optional ──
# Model name. Also accepts OPENAI_MODEL as fallback.
# Examples of OpenAI-compatible providers:
# OpenAI: gpt-4o, gpt-4-turbo
# DeepSeek: deepseek-chat
# Groq: llama-3.3-70b-versatile
# Ollama: llama3 (local)
LLM_MODEL=copilot
# API endpoint base URL. Also accepts OPENAI_BASE_URL as fallback.
# Examples for OpenAI-compatible providers:
# OpenAI: https://api.openai.com/v1
# DeepSeek: https://api.deepseek.com/v1
# Groq: https://api.groq.com/openai/v1
# Ollama: http://localhost:11434/v1
LLM_BASE_URL=https://api.openai.com/v1
# ── Session (optional) ──
# Custom session ID (auto-generated if not set)
# PHI_SESSION_ID=my-session