🤯 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 type { LobeChatDatabase } from '@lobechat/database';
import type { TopicAnalysisResult } from '@lobechat/types';
export interface AnalyzeTopicParams {
db: LobeChatDatabase;
/** Model and provider the user assigned to the topic auto summary. */
model: string;
provider: string;
/** Rolling summary of the whole topic; the transcript only covers the recent window. */
summary?: string;
topicId: string;
/** Recent user / assistant messages, oldest first, bounded like the summary input. */
transcript: string;
userId: string;
workspaceId?: string;
}
export const isTopicAnalysisEnabled = () => false;
/** Returns `null` when there is nothing to record for this topic. */
export const analyzeTopic = async (
_params: AnalyzeTopicParams,
): Promise<TopicAnalysisResult | null> => null;