# --------------------------------------------------------------------------- # AI Email Writer - Environment Variables # # Copy this file to a new file named ".env" in the same folder, then fill in # your real values. NEVER commit your actual .env file to version control. # --------------------------------------------------------------------------- # Your OpenAI API key. Get one at https://platform.openai.com/api-keys OPENAI_API_KEY= # The OpenAI model used for generation. Must support the Responses API, # function calling, and temperature (e.g. gpt-4.1-mini, gpt-4.1, gpt-4o-mini). OPENAI_MODEL=gpt-4.1-mini # Flask secret key, used for session signing. Set this to a long random # string in any real deployment. FLASK_SECRET_KEY= # Set to False in production. FLASK_DEBUG=True # Host/port Flask will bind to. FLASK_HOST=127.0.0.1 FLASK_PORT=8000 # Default temperature (0.0 = precise/deterministic, 2.0 = highly creative). DEFAULT_TEMPERATURE=0.7 # Maximum number of output tokens the model may generate per response. MAX_OUTPUT_TOKENS=800 # Logging verbosity: DEBUG, INFO, WARNING, ERROR LOG_LEVEL=INFO