# --------------------------------------------------------------------------- # Copilot provider. The server picks the FIRST one that is configured: # 1. OpenRouter (if OPENROUTER_API_KEY is set) # 2. Ollama (if reachable at OLLAMA_HOST) # 3. Rule-based fallback (always works, no config, no network) # The demo is fully functional with none of these set. # # These are the STARTING defaults. The in-app settings page (AI cog in the # header) overrides them at runtime and persists to .copilot-settings.json; # 'Reset to defaults' there discards that and falls back to this file. # --------------------------------------------------------------------------- # --- Option 1: OpenRouter (cloud) --- # OPENROUTER_API_KEY=sk-or-v1-... # OPENROUTER_MODEL=meta-llama/llama-3.3-70b-instruct # --- Option 2: Ollama (local, recommended for on-stage demos) --- # Start it with: ollama serve OLLAMA_HOST=http://127.0.0.1:11434 # Fast + interactive (recommended for live demo): OLLAMA_MODEL=qwen3.5-4b-32k:latest # Higher quality, noticeably slower: # OLLAMA_MODEL=gemma4-26b-32k:latest # --- Force the offline rule-based copilot even if a provider is available --- # Useful for rehearsing the worst case. # COPILOT_PROVIDER=fallback # --- Server --- PORT=8787 # --- Telemetry source: simulated | mqtt | opcua --- # mqtt and opcua are documented stubs; see server/ingest/ TELEMETRY_SOURCE=simulated