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.

458 B
Raw Blame
import Controls from '@/features/ChatInput/ActionBar/Params/Controls';
import { createStore, Provider } from '@/features/ChatInput/store';
import { useAgentStore } from '@/store/agent';

const ParamsSection = () => {
  const agentId = useAgentStore((s) => s.activeAgentId) || '';

  return (
    <Provider createStore={() => createStore({ agentId })} key={agentId}>
      <Controls variant="sidebar" />
    </Provider>
  );
};

export default ParamsSection;