- _get_runtime_config(): reads active provider endpoint, api_key, main/mini model from app_settings (60s cache), falls back to env vars - get_azure_client() now async, accepts cfg dict - All generate_* methods call _get_runtime_config() per invocation so DB changes take effect without restart - app_settings: _seed_from_env() backfills empty endpoint/api_key from env vars on first load so the admin UI shows current values immediately Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app_settings.py | ||
| credit_transaction.py | ||
| focus_group.py | ||
| folder.py | ||
| model_pricing.py | ||
| persona.py | ||
| quota.py | ||
| usage_event.py | ||
| user.py | ||