🤯 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: slove the model select null problem (#10988)
Shinji-Li50aa30431724
diff --git a/src/app/[variants]/(main)/group/profile/features/AgentBuilder/index.tsx b/src/app/[variants]/(main)/group/profile/features/AgentBuilder/index.tsxindex 87c1c3a95e3..8c6357c1903 100644--- a/src/app/[variants]/(main)/group/profile/features/AgentBuilder/index.tsx+++ b/src/app/[variants]/(main)/group/profile/features/AgentBuilder/index.tsx@@ -15,11 +15,9 @@ const AgentBuilder = memo(() => {const theme = useTheme();const chatPanelExpanded = useProfileStore((s) => s.chatPanelExpanded);const setChatPanelExpanded = useProfileStore((s) => s.setChatPanelExpanded);- const agentId = useAgentStore((s) => s.activeAgentId);const groupAgentBuilderId = useAgentStore(builtinAgentSelectors.groupAgentBuilderId);console.log('groupAgentBuilderId', groupAgentBuilderId);- console.log('agentId', agentId);const [width, setWidth] = useState<string | number>(360);const useInitBuiltinAgent = useAgentStore((s) => s.useInitBuiltinAgent);@@ -44,7 +42,7 @@ const AgentBuilder = memo(() => {width,}}>- {agentId && groupAgentBuilderId ? (+ {groupAgentBuilderId ? (<AgentBuilderProvider agentId={groupAgentBuilderId}><AgentBuilderConversation agentId={groupAgentBuilderId} /></AgentBuilderProvider>diff --git a/src/app/[variants]/(main)/group/profile/features/ProfileEditor/index.tsx b/src/app/[variants]/(main)/group/profile/features/ProfileEditor/index.tsxindex 127b8c9d3f2..79ef3c06a45 100644--- a/src/app/[variants]/(main)/group/profile/features/ProfileEditor/index.tsx+++ b/src/app/[variants]/(main)/group/profile/features/ProfileEditor/index.tsx@@ -48,8 +48,8 @@ const ProfileEditor = memo(() => {<ModelSelectonChange={updateConfig}value={{- model: config.model,- provider: config.provider,+ model: config?.model,+ provider: config?.provider,}}/></Flexbox>