Spaces:
Running
Running
| # FocusFlow Environment Configuration | |
| # Copy this file to .env and fill in your values | |
| # Launch Mode | |
| # - demo: Uses text area for workspace monitoring (ideal for HuggingFace Spaces) | |
| # - local: Monitors actual file system changes | |
| LAUNCH_MODE=demo | |
| # AI Provider | |
| # Options: openai, anthropic, gemini, vllm, mock | |
| AI_PROVIDER=anthropic | |
| # Monitoring Settings | |
| MONITOR_INTERVAL=30 # Seconds between automatic focus checks | |
| # MCP Server | |
| ENABLE_MCP=true # Enable Model Context Protocol server | |
| # ===== AI Provider API Keys ===== | |
| # OpenAI (GPT-4) | |
| # Get your key from: https://platform.openai.com/api-keys | |
| OPENAI_API_KEY= | |
| # Anthropic (Claude) | |
| # Get your key from: https://console.anthropic.com/ | |
| ANTHROPIC_API_KEY= | |
| # Google Gemini | |
| # Get your key from: https://makersuite.google.com/app/apikey | |
| GEMINI_API_KEY= | |
| # vLLM (Local Inference) | |
| VLLM_BASE_URL=http://localhost:8000/v1 | |
| VLLM_MODEL=ibm-granite/granite-4.0-h-1b | |
| VLLM_API_KEY=EMPTY | |
| # ===== Demo API Keys (For Hackathon Organizers) ===== | |
| # These are checked FIRST before user keys | |
| # Set these on HuggingFace Spaces to enable AI for judges/testers | |
| # Falls back to Mock AI if keys are invalid or out of credits | |
| DEMO_ANTHROPIC_API_KEY= | |
| DEMO_OPENAI_API_KEY= | |
| DEMO_GEMINI_API_KEY= | |
| # ===== ElevenLabs Voice Integration (Optional) ===== | |
| # Get your key from: https://elevenlabs.io/ | |
| # Voice feedback is OPTIONAL - app works perfectly without it | |
| ELEVEN_API_KEY= | |
| DEMO_ELEVEN_API_KEY= | |
| # Voice settings (optional) | |
| VOICE_ENABLED=true # Set to false to disable voice globally | |
| # ===== Notes ===== | |
| # - Leave API keys empty to use Mock AI (demo mode) | |
| # - Demo keys are perfect for hackathon deployments | |
| # - App gracefully degrades to Mock AI on any errors | |