Skip to content

bug(slm): views that call the main backend don't say so when it is down, and the installer's wording names a wizard step that doesn't exist #20569

Open

Description

@mrveiss

Problem

ADR-012: the SLM keeps working while the main app is down. Read from main, not run:

  • About 25 SLM views and composables call the main backend through createAutobotBackendClient() (autobot-slm-frontend/src/composables/useAutobotApi.ts:593-598): CacheSettings, LLMFallbacksView, LogForwardingSettings, NPUWorkersSettings, PromptsSettings, DataHygieneView, BudgetAuditView, UserManagementSettings, BackendSettings, AgentsTool, BatchTool, BrowserTool, FileBrowserTool, MCPTool, VisionTool, VoiceTool, AdvancedControlTool, SharedLinksView, AdminMonitoringView, agents ConfigHistoryTab, OrgChartTab, ProcessMonitorTab, useSkills, useRumApi, useValidationDashboardApi, useWebResearchAdminApi. What each shows with the backend down was not read: an error, a blank screen or a spinner.
  • install.sh:1004-1016 calls a preserved password the "wizard-set password", but SetupWizardView.vue has no admin password step.

Acceptance criteria

  • With the main backend unreachable, each listed view says the main app is down, never blank or spinning, and the rest of the SLM still works (a test of the shared handling, and a sweep listing each view).
  • The installer's wording matches what sets the password.

Refs #10193

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendphase:M1.4Wizard and SLM: choose a mode, apply it, default models workpriority: medium

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions