Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: Settings > Orchestration Profiles no longer errors on load and now shows provider names
Adam Eivy046d27ef5ef1
diff --git a/client/src/components/settings/OrchestrationTab.jsx b/client/src/components/settings/OrchestrationTab.jsxindex 6e4ae7fbac..c79672423d 100644--- a/client/src/components/settings/OrchestrationTab.jsx+++ b/client/src/components/settings/OrchestrationTab.jsx@@ -43,10 +43,11 @@ export default function OrchestrationTab() {try {const [profList, provList] = await Promise.all([api.getOrchestrationProfiles({ silent: true }).catch(() => []),- api.getProviders({ silent: true }).catch(() => []),+ api.getProviders({ silent: true }).catch(() => ({ providers: [] })),]);setProfiles(profList || []);- setProviders((provList || []).filter((p) => p.enabled));+ // getProviders() resolves { activeProvider, providers }, not a bare array.+ setProviders((provList?.providers || []).filter((p) => p.enabled));} catch (err) {toast.error(`Failed to load orchestration data: ${err.message}`);} finally {diff --git a/client/src/components/settings/OrchestrationTab.test.jsx b/client/src/components/settings/OrchestrationTab.test.jsxindex 5fefbadfaf..45297ab63f 100644--- a/client/src/components/settings/OrchestrationTab.test.jsx+++ b/client/src/components/settings/OrchestrationTab.test.jsx@@ -45,7 +45,8 @@ describe('OrchestrationTab', () => {beforeEach(() => {vi.clearAllMocks();api.getOrchestrationProfiles.mockResolvedValue(mockProfiles);- api.getProviders.mockResolvedValue(mockProviders);+ // Real shape of getProviders(): { activeProvider, providers } — a bare array here hid a crash.+ api.getProviders.mockResolvedValue({ activeProvider: 'anthropic', providers: mockProviders });});it('renders orchestration profiles list', async () => {@@ -59,6 +60,14 @@ describe('OrchestrationTab', () => {});});+ it('resolves provider display names from the { providers } response', async () => {+ render(<OrchestrationTab />);+ await waitFor(() => expect(screen.getByText('Custom Team')).toBeTruthy());+ // Falls back to the raw id ("anthropic") when the providers list fails to load.+ expect(screen.getAllByText('Anthropic').length).toBeGreaterThan(0);+ expect(screen.queryByText('anthropic')).toBeNull();+ });+it('opens create profile form and saves', async () => {api.saveOrchestrationProfile.mockResolvedValue({id: 'new-profile',