🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix: Unable to switch to default topic (#10472)
sxjerud181f718c95f
diff --git a/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx b/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsxindex d93fb410fc4..a2f7267b60e 100644--- a/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx+++ b/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx@@ -53,7 +53,10 @@ export interface ConfigCellProps {const TopicItem = memo<ConfigCellProps>(({ title, active, id, fav, threadId }) => {const { styles, cx } = useStyles();const toggleConfig = useGlobalStore((s) => s.toggleMobileTopic);- const [toggleTopic, editing] = useChatStore((s) => [s.switchTopic, s.topicRenamingId === id]);+ const [toggleTopic, editing] = useChatStore((s) => [+ s.switchTopic,+ s.topicRenamingId !== undefined && s.topicRenamingId === id,+ ]);const activeId = useSessionStore((s) => s.activeId);const [isHover, setHovering] = useState(false);@@ -65,6 +68,8 @@ const TopicItem = memo<ConfigCellProps>(({ title, active, id, fav, threadId }) =distribution={'space-between'}horizontalonClick={(e) => {+ // Alt+Click should keep the current topic selection (reserved shortcut)+ if (e.altKey) return;// 重命名时不切换话题if (editing) return;// Ctrl/Cmd+点击在新窗口打开diff --git a/src/config/modelProviders/cerebras.ts b/src/config/modelProviders/cerebras.tsindex acb1051b06e..7489ab16300 100644--- a/src/config/modelProviders/cerebras.ts+++ b/src/config/modelProviders/cerebras.ts@@ -9,6 +9,9 @@ const Cerebras: ModelProviderCard = {modelsUrl: 'https://inference-docs.cerebras.ai/models/overview',name: 'Cerebras',settings: {+ proxyUrl: {+ placeholder: 'https://api.cerebras.ai/v1',+ },sdkType: 'openai',showModelFetcher: true,},