Spaces:
Running
Running
| # ============== LLM CONFIGURATION ============== | |
| # Provider: "openai" or "anthropic" | |
| LLM_PROVIDER=openai | |
| # API Keys (at least one required for full LLM analysis) | |
| OPENAI_API_KEY=sk-your-key-here | |
| ANTHROPIC_API_KEY=sk-ant-your-key-here | |
| # Model names (optional - sensible defaults) | |
| OPENAI_MODEL=gpt-5.1 | |
| ANTHROPIC_MODEL=claude-sonnet-4-5-20250929 | |
| # ============== HUGGINGFACE (FREE TIER) ============== | |
| # HuggingFace Token - enables Llama 3.1 (best quality free model) | |
| # Get yours at: https://huggingface.co/settings/tokens | |
| # | |
| # WITHOUT HF_TOKEN: Falls back to ungated models (zephyr-7b-beta) | |
| # WITH HF_TOKEN: Uses Llama 3.1 8B Instruct (requires accepting license) | |
| # | |
| # For HuggingFace Spaces deployment: | |
| # Set this as a "Secret" in Space Settings β Variables and secrets | |
| # Users/judges don't need their own token - the Space secret is used | |
| # | |
| HF_TOKEN=hf_your-token-here | |
| # ============== AGENT CONFIGURATION ============== | |
| MAX_ITERATIONS=10 | |
| SEARCH_TIMEOUT=30 | |
| LOG_LEVEL=INFO | |
| # ============== EXTERNAL SERVICES ============== | |
| # PubMed (optional - higher rate limits) | |
| NCBI_API_KEY=your-ncbi-key-here | |
| # Modal Sandbox (optional - for secure code execution) | |
| MODAL_TOKEN_ID=ak-your-modal-token-id-here | |
| MODAL_TOKEN_SECRET=your-modal-token-secret-here | |
| # Vector Database (optional - for LlamaIndex RAG) | |
| CHROMA_DB_PATH=./chroma_db | |