UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

24 lines (23 loc) 917 B
import { Agent } from '../../../llm-providers/agent/Agent'; import type { LlmChatProps } from '../LlmChat/LlmChatProps'; import type { AgentChipData } from '../AgentChip/AgentChip'; /** * Props for AgentChat component, derived from LlmChatProps but with Agent-specific modifications * * @public exported from `@promptbook/components` */ export type AgentChatProps = Omit<LlmChatProps, 'thread' | 'llmTools' | 'initialMessages' | 'userParticipantName' | 'llmParticipantName'> & { /** * The agent to chat with */ readonly agent: Agent; /** * Optional mapping of technical tool names to human-readable titles. * e.g., { "web_search": "Searching the web..." } */ readonly toolTitles?: Record<string, string>; /** * Optional pre-fetched team agent metadata to make tool call chips friendlier. */ readonly teamAgentProfiles?: Record<string, AgentChipData>; };