# ============================================================================== # Autonomous AI Task Worker - Environment Configuration # ============================================================================== # LLM Provider selection: 'anthropic' or 'openai' (defaults to 'anthropic' if ANTHROPIC_API_KEY is present) LLM_PROVIDER=anthropic # Anthropic Claude Configuration # Model examples: claude-3-5-sonnet-20241022, claude-3-7-sonnet-20250219, claude-3-5-haiku-20241022 ANTHROPIC_API_KEY=your_anthropic_api_key_here ANTHROPIC_MODEL=claude-3-5-sonnet-20241022 # OpenAI Configuration (Alternative) # Model examples: gpt-4o, gpt-4o-mini, gpt-4-turbo OPENAI_API_KEY=your_openai_api_key_here OPENAI_MODEL=gpt-4o # Simulation & Reliability Flags # 1 = Simulate network/system transient errors on first attempt (to test agent retry & error recovery) # 0 = Always succeed without transient error injection SIMULATE_TRANSIENT_ERRORS=1 # Maximum ReAct iterations before stopping (prevents runaway execution) MAX_AGENT_STEPS=15