Pulse/internal
rcourtman 54fc259221 fix(ai): improve AI settings UX with validation and smart fallbacks
Backend:
- Add smart provider fallback when selected model's provider isn't configured
- Automatically switch to a model from a configured provider instead of failing
- Log warning when fallback occurs for visibility

Frontend (AISettings.tsx):
- Add helper functions to check if model's provider is configured
- Group model dropdown: configured providers first, unconfigured marked with ⚠️
- Add inline warning when selecting model from unconfigured provider
- Validate on save that model's provider is configured (or being added)
- Warn before clearing last configured provider (would disable AI)
- Warn before clearing provider that current model uses
- Add patrol interval validation (must be 0 or >= 10 minutes)
- Show red border + inline error for invalid patrol intervals 1-9
- Update patrol interval hint: '(0=off, 10+ to enable)'

These changes prevent confusing '500 Internal Server Error' and
'AI is not enabled or configured' errors when model/provider mismatch.
2025-12-17 18:30:19 +00:00
..
agentbinaries test: expand cmd and agent update coverage 2025-12-17 13:28:17 +00:00
agentexec Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
agentupdate test: expand cmd and agent update coverage 2025-12-17 13:28:17 +00:00
ai fix(ai): improve AI settings UX with validation and smart fallbacks 2025-12-17 18:30:19 +00:00
alerts feat: configurable backup freshness thresholds for dashboard indicator 2025-12-16 16:36:08 +00:00
api Fix agent download serving wrong architecture binary 2025-12-17 17:22:51 +00:00
auth feat: auto-detect platforms during agent install and allow multi-host tokens 2025-12-14 16:21:59 +00:00
buffer Fix offline buffering: add tests, remove unused config, fix flaky test 2025-12-02 22:31:44 +00:00
ceph Improve test coverage 2025-12-17 12:00:59 +00:00
config fix(config): avoid deadlock saving empty nodes config 2025-12-17 13:28:06 +00:00
crypto fix: Prevent orphaned encrypted data when encryption key is deleted 2025-12-17 17:00:53 +00:00
discovery feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
dockeragent feat(docker-agent): add payload size logging for debugging body-too-large errors 2025-12-14 21:10:06 +00:00
errors refactor: Remove unreachable dead code branches 2025-12-02 14:48:57 +00:00
hostagent Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
hostmetrics feat: AI features, agent improvements, and host monitoring enhancements 2025-12-05 10:37:02 +00:00
kubernetesagent test: add unit tests for AI, Kubernetes agent, and clients 2025-12-17 12:47:36 +00:00
logging chore: remove dead code and unused exports 2025-11-27 13:17:39 +00:00
mdadm perf: Pre-compile regexes in mdadm package 2025-12-02 15:11:04 +00:00
metrics Improve test coverage 2025-12-17 12:00:59 +00:00
mock feat(kubernetes): Add Kubernetes mock data and UI 2025-12-12 23:13:40 +00:00
models fix: backup matching uses instance+VMID to prevent cross-instance collisions 2025-12-16 22:19:19 +00:00
monitoring feat: auto-detect platforms during agent install and allow multi-host tokens 2025-12-14 16:21:59 +00:00
notifications style: remove emojis from log messages 2025-12-13 21:29:11 +00:00
resources feat(backend): Implement remaining TODOs 2025-12-13 13:21:23 +00:00
sensors feat: AI security and policy improvements for 5.0 2025-12-12 17:38:55 +00:00
ssh/knownhosts test: Add tests for SSH knownhosts error and path methods 2025-12-01 17:50:13 +00:00
system style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
tempproxy perf: Remove redundant fmt.Sprintf in tempproxy contains function 2025-12-02 15:24:40 +00:00
types test: add unit tests for types package 2025-11-26 14:10:21 +00:00
updates style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
utils AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
websocket refactor: Remove unreachable dead code branches 2025-12-02 14:56:35 +00:00