Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(model-hub): fill settings workspace (#1689)
Call White6e4a34a01fe3
diff --git a/ui/src/components/settings/SettingsLayout.test.tsx b/ui/src/components/settings/SettingsLayout.test.tsxindex 43b059e41..a12e9c9aa 100644--- a/ui/src/components/settings/SettingsLayout.test.tsx+++ b/ui/src/components/settings/SettingsLayout.test.tsx@@ -68,6 +68,7 @@ const renderLayout = (path: string) => render(<MemoryRouter initialEntries={[path]}><Routes><Route path="/settings" element={<SettingsLayoutHarness />}>+ <Route path="models" element={<div>models-body</div>} /><Route path="replies" element={<div>replies-body</div>} /><Route path="service" element={<div>service-body</div>} /><Route path="platforms" element={<div>platforms-body</div>} />@@ -115,6 +116,27 @@ describe('SettingsLayout', () => {expect(shell?.className).not.toContain('min-h-full');});+ it.each(['/settings/models', '/settings/models/'])(+ 'lets Model Hub fill the route pane at %s',+ (path) => {+ renderLayout(path);++ const modelHubFrame = screen.getByText('models-body').parentElement;+ expect(modelHubFrame?.className).toContain('min-h-full');+ expect(modelHubFrame?.className).not.toContain('mx-auto');+ expect(modelHubFrame?.className).not.toContain('max-w-[1180px]');+ },+ );++ it('keeps standard settings pages constrained', () => {+ renderLayout('/settings/replies');++ const standardFrame = screen.getByText('replies-body').parentElement;+ expect(standardFrame?.className).toContain('mx-auto');+ expect(standardFrame?.className).toContain('max-w-[1180px]');+ expect(standardFrame?.className).not.toContain('min-h-full');+ });+it('renders the three-group rail and feature-gated owner sections', async () => {renderLayout('/settings/replies');diff --git a/ui/src/components/settings/SettingsLayout.tsx b/ui/src/components/settings/SettingsLayout.tsxindex 13f4188e0..e17a4b647 100644--- a/ui/src/components/settings/SettingsLayout.tsx+++ b/ui/src/components/settings/SettingsLayout.tsx@@ -184,6 +184,7 @@ export const SettingsLayout: React.FC = () => {const [memoryVisible, setMemoryVisible] = useState(false);const [channelSettingsVisible, setChannelSettingsVisible] = useState(false);const atRoot = location.pathname === '/settings' || location.pathname === '/settings/';+ const isModelHub = pathMatches(location.pathname, '/settings/models');useEffect(() => {if (!capabilities.can_manage_instance) return;@@ -331,7 +332,12 @@ export const SettingsLayout: React.FC = () => {</nav><section className={clsx('min-w-0 flex-1 overflow-y-auto', atRoot && 'hidden md:block')}>- <div className="mx-auto w-full max-w-[1180px] px-4 pb-[calc(1.25rem+env(safe-area-inset-bottom))] pt-5 md:px-6 md:pb-7 md:pt-7 lg:px-8">+ <div+ className={clsx(+ 'w-full px-4 pb-[calc(1.25rem+env(safe-area-inset-bottom))] pt-5 md:px-6 md:pb-7 md:pt-7 lg:px-8',+ isModelHub ? 'min-h-full' : 'mx-auto max-w-[1180px]',+ )}+ >{!atRoot && (<NavLinkto="/settings"