Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(home): hide model shortcuts (#16960)

AmAzing-d737325372ae
diff --git a/src/features/Workspace/__tests__/workspaceAwarePath.test.ts b/src/features/Workspace/__tests__/workspaceAwarePath.test.ts
index e37697179bd..7ae14e7ac66 100644
--- a/src/features/Workspace/__tests__/workspaceAwarePath.test.ts
+++ b/src/features/Workspace/__tests__/workspaceAwarePath.test.ts
@@ -11,6 +11,12 @@ describe('buildWorkspaceAwarePath', () => {
it('prefixes absolute paths with the active workspace slug', () => {
expect(buildWorkspaceAwarePath('/memory', 'acme')).toBe('/acme/memory');
expect(buildWorkspaceAwarePath('/agent/inbox', 'acme')).toBe('/acme/agent/inbox');
+ expect(buildWorkspaceAwarePath('/image?model=image-model', 'acme')).toBe(
+ '/acme/image?model=image-model',
+ );
+ expect(buildWorkspaceAwarePath('/video?model=video-model', 'acme')).toBe(
+ '/acme/video?model=video-model',
+ );
expect(buildWorkspaceAwarePath('/community/agent/jailbreak', 'acme')).toBe(
'/acme/community/agent/jailbreak',
);
diff --git a/src/routes/(main)/home/features/InputArea/index.tsx b/src/routes/(main)/home/features/InputArea/index.tsx
index 0d780b0e125..0c80ce9a070 100644
--- a/src/routes/(main)/home/features/InputArea/index.tsx
+++ b/src/routes/(main)/home/features/InputArea/index.tsx
@@ -15,7 +15,6 @@ import { systemStatusSelectors } from '@/store/global/selectors';
import { stripMarkdownLinks } from './hintFormat';
import InputDragUpload from './InputDragUpload';
import MessengerBanner, { MESSENGER_BANNER_ID } from './MessengerBanner';
-import StarterList from './StarterList';
import { useSend } from './useSend';
const leftActions: ActionKeys[] = ['agentMode', 'plus'];
@@ -118,7 +117,8 @@ const InputArea = () => {
</InputDragUpload>
</Flexbox>
- <StarterList />
+ {/* TODO: Remove the deprecated StarterList implementation after the home model shortcuts
+ have been retired permanently. */}
</Flexbox>
);
};