@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 498 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;
};