mirror of
https://github.com/Significant-Gravitas/AutoModerate.git
synced 2026-11-09 17:54:01 -10:00
Added GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET to .env.example for Google OAuth configuration. Refactored OpenAIClient to use thread-local storage for client instances, improving thread safety in multi-threaded environments.
18 lines
373 B
Bash
18 lines
373 B
Bash
# Flask Configuration
|
|
FLASK_ENV=development
|
|
SECRET_KEY=your-secret-key-here
|
|
DATABASE_URL=sqlite:///automoderate.db
|
|
|
|
# OpenAI Configuration
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
|
|
# Sentry Configuration
|
|
SENTRY_DSN=your-sentry-dsn-here
|
|
|
|
# Application Settings
|
|
ADMIN_EMAIL=[email protected]
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# Google OAuth info
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET= |