# Optional local overrides for ChatCrystal
#
# Primary runtime config lives in config.json under the active data directory.
# Default active data directory is ~/.chatcrystal/data across CLI, MCP, dev, npm, and Electron.
# Keep this file only if you want development-time overrides.

# Server
PORT=3721
# Docker Compose binds to localhost by default. Put a reverse proxy with HTTPS in
# front of ChatCrystal before exposing it publicly.
# BIND_ADDRESS=127.0.0.1
# CHATCRYSTAL_HOST_PORT=3721
# DATA_DIR=./data

# Data source overrides
# CLAUDE_PROJECTS_DIR=~/.claude/projects
# CODEX_SESSIONS_DIR=~/.codex/sessions
# CURSOR_DATA_DIR=          # Auto-detected per platform; override if needed
# TRAE_DATA_DIR=            # Auto-detected per platform; override if needed
# COPILOT_DATA_DIR=         # Auto-detected per platform; override if needed

# LLM Provider override for summarization
# Supported: ollama, openai, anthropic, google, azure, custom
# LLM_PROVIDER=ollama
# LLM_BASE_URL=http://localhost:11434
# LLM_API_KEY=
# LLM_MODEL=qwen2.5:7b

# Embedding Provider override for semantic search
# Supported: ollama, openai, google, azure, custom
# EMBEDDING_PROVIDER=ollama
# EMBEDDING_BASE_URL=http://localhost:11434
# EMBEDDING_API_KEY=
# EMBEDDING_MODEL=nomic-embed-text

# --- Provider Examples ---

# OpenAI
# LLM_PROVIDER=openai
# LLM_API_KEY=sk-...
# LLM_MODEL=gpt-4o-mini

# Anthropic (native, no baseURL needed)
# LLM_PROVIDER=anthropic
# LLM_API_KEY=sk-ant-...
# LLM_MODEL=claude-sonnet-4-20250514

# Google AI (native, no baseURL needed)
# LLM_PROVIDER=google
# LLM_API_KEY=AIza...
# LLM_MODEL=gemini-2.0-flash

# Azure OpenAI
# LLM_PROVIDER=azure
# LLM_BASE_URL=https://your-resource.openai.azure.com
# LLM_API_KEY=...
# LLM_MODEL=your-deployment-name

# Custom (any OpenAI-compatible API: Poe, OpenRouter, LM Studio, vLLM, etc.)
# LLM_PROVIDER=custom
# LLM_BASE_URL=https://openrouter.ai/api/v1
# LLM_API_KEY=...
# LLM_MODEL=anthropic/claude-3.5-haiku

# Docker cloud deployment
# CHATCRYSTAL_IMAGE_TAG=latest
# CHATCRYSTAL_CLOUD_MODE=true
# CHATCRYSTAL_API_TOKEN=
# CHATCRYSTAL_ALLOW_INSECURE_REMOTE_HTTP=false
#
# In Docker, localhost points inside the container.
# For Ollama on Docker Desktop, use:
# CHATCRYSTAL_DOCKER_LLM_BASE_URL=http://host.docker.internal:11434
# CHATCRYSTAL_DOCKER_EMBEDDING_BASE_URL=http://host.docker.internal:11434
# The default docker-compose.yml already maps host.docker.internal for Linux.
