You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A continuous, real-time runtime diagnostics suite for ComfyUI featuring **LLM-powered analysis**, **interactive debugging chat**, and **50+ fix patterns**. Automatically intercepts all terminal output from startup, captures complete Python tracebacks, and delivers prioritized fix suggestions with node-level context extraction. Now supports **JSON-based pattern management** with hot-reload and **full i18n support** for 9 languages (en, zh_TW, zh_CN, ja, de, fr, it, es, ko).
-**Automatic Error Monitoring**: Captures all terminal output and detects Python tracebacks in real-time
@@ -539,13 +553,13 @@ ComfyUI-Doctor integrates with popular LLM services to provide intelligent, cont
539
553
540
554
### Configuration
541
555
542
-

556
+
<imgsrc="assets/settings.png"alt="side bar - settings">
543
557
544
558
Configure AI analysis in the **Doctor Sidebar** → **Settings** panel:
545
559
546
560
1.**AI Provider**: Select from the dropdown menu. The Base URL will auto-fill.
547
561
2.**AI Base URL**: The API endpoint (auto-populated, but customizable)
548
-
3.**AI API Key**: Your API key (leave empty for local LLMs like Ollama/LMStudio)
562
+
3.**AI API Key**: Session-only key input for cloud providers (leave empty for local LLMs like Ollama/LMStudio)
549
563
4.**AI Model Name**:
550
564
- Select a model from the dropdown list (automatically populated from your provider's API)
551
565
- Click the 🔄 refresh button to reload available models
@@ -559,7 +573,7 @@ Configure AI analysis in the **Doctor Sidebar** → **Settings** panel:
559
573
3. Wait for the LLM to analyze the error (typically 3-10 seconds).
560
574
4. Review the AI-generated debugging suggestions.
561
575
562
-
**Security Note**: Your API key is transmitted securely from frontend to backend for the analysis request only. It is never logged or stored persistently.
576
+
**Security Note**: API keys are **session-only** in the browser (cleared on reload). The backend resolves keys via this priority chain: request key → `DOCTOR_{PROVIDER}_API_KEY` → `DOCTOR_LLM_API_KEY` → optional server-side store (`secrets.json`). Keys are never logged and the server store is admin-gated. `secrets.json` is plaintext on disk (OS-permission protected), so for maximum security use environment variables.
563
577
564
578
### Privacy Mode (PII Sanitization)
565
579
@@ -702,7 +716,18 @@ You can customize ComfyUI-Doctor behavior via the **Doctor sidebar → Settings*
702
716
703
717
**Function**: Your API key for authentication with cloud LLM services.
704
718
**Usage**: Required for cloud providers (OpenAI, DeepSeek, etc.). Leave empty for local LLMs (Ollama, LMStudio).
705
-
**Security**: The key is only transmitted during analysis requests and is never logged or persisted.
719
+
**Default Behavior**: Session-only in frontend (cleared on reload); not persisted in ComfyUI settings.
0 commit comments