mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Add a prominent warning banner to the UI dashboard when detailed debug mode (LITELLM_LOG=DEBUG) is enabled. This alerts users to significant performance degradation caused by extensive diagnostic logging. Backend changes: - Enhanced /health/readiness endpoint to include log_level and is_detailed_debug fields - Added detection using verbose_logger.getEffectiveLevel() - Backward compatible - old clients ignore new fields Frontend changes: - Updated useHealthReadiness TypeScript interface - Created DebugWarningBanner component using Ant Design Alert - Integrated banner into dashboard layout below navbar - Banner only shows when DEBUG level is active - Non-dismissible to ensure users are aware of performance impact Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||