UNPKG

@promptbook/wizard

Version:

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

22 lines (21 loc) 737 B
import type { TODO_any } from '../../../utils/organization/TODO_any'; import type { ChatMessage } from '../types/ChatMessage'; /** * Resolved summary data for self-learning tool calls. * * @private component of `<Chat/>` */ export type SelfLearningSummaryData = { commitments: Array<string>; commitmentsText: string; commitmentsLineCount: number; hasTeacherCommitments: boolean; samplesLabel: string | null; updatedLabel: string | null; }; /** * Builds UI-ready data for the self-learning modal from a tool call. * * @private component of `<Chat/>` */ export declare function buildSelfLearningSummary(toolCall: NonNullable<ChatMessage['toolCalls']>[number], resultRaw: TODO_any): SelfLearningSummaryData;