🤯 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
import { DEFAULT_INBOX_TITLE } from '@lobechat/const';
import { agentDisplayName } from '@lobechat/types';
import { type SharedTopicData } from '@/types/topic';
export const buildTopicByline = (data: SharedTopicData) => {
const isInboxAgent = !data.groupId && data.agentMeta?.slug === 'inbox';
return (
data.groupMeta?.title ||
agentDisplayName(data.agentMeta, isInboxAgent ? DEFAULT_INBOX_TITLE : '') ||
undefined
);
};