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.

584 B
Raw Blame
import { RunCommandRender } from '@lobechat/shared-tool-ui/renders';
import type { BuiltinRender } from '@lobechat/types';

import { DocumentApiName } from '../../types';
import ModifyNodesRender from './ModifyNodes';

/**
 * Page Agent Render Components Registry
 *
 * Render components customize how tool results are displayed to users.
 */
export const PageAgentRenders: Record<string, BuiltinRender | null> = {
  [DocumentApiName.bash]: RunCommandRender as BuiltinRender,
  [DocumentApiName.initPage]: null,
  [DocumentApiName.modifyNodes]: ModifyNodesRender as BuiltinRender,
};