@promptbook/utils
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
19 lines (18 loc) • 692 B
TypeScript
import { Agent } from '../../../llm-providers/agent/Agent';
import type { LlmChatProps } from '../LlmChat/LlmChatProps';
/**
* 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>;
};