# -------------------------------------------------------------------- # AI Code Explainer - Environment Variables # Copy this file to ".env" and fill in your own values. # NEVER commit your real ".env" file to version control. # -------------------------------------------------------------------- # Required: your OpenAI API key (https://platform.openai.com/api-keys) OPENAI_API_KEY= # Model used for all Responses API calls (must support tools + structured output) OPENAI_MODEL=gpt-4o-mini # Sampling temperature (0.0 = deterministic, 1.0 = more creative) OPENAI_TEMPERATURE=0.3 # Flask session/signing secret - set to a long random string in production FLASK_SECRET_KEY= # Set to True only for local development (enables debug/auto-reload) FLASK_DEBUG=False # Host/port Flask listens on when run via "python app.py" FLASK_HOST=127.0.0.1 FLASK_PORT=8000 # Maximum number of characters accepted in a single code submission MAX_CODE_LENGTH=20000 # Timeout budget (seconds) used for reasoning about long-running requests REQUEST_TIMEOUT_SECONDS=60 # Logging verbosity: DEBUG, INFO, WARNING, ERROR LOG_LEVEL=INFO