@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
33 lines (32 loc) • 1.01 kB
TypeScript
import { type ReactElement } from 'react';
import type { TODO_any } from '../../../utils/organization/TODO_any';
import type { ChatMessage } from '../types/ChatMessage';
/**
* Rendering options for the memory-specific tool call view.
*
* @private function of ChatToolCallModal
*/
type RenderMemoryToolCallDetailsOptions = {
/**
* Raw tool call payload.
*/
toolCall: NonNullable<ChatMessage['toolCalls']>[number];
/**
* Resolved tool call arguments.
*/
args: Record<string, TODO_any>;
/**
* Parsed tool call result.
*/
resultRaw: TODO_any;
};
/**
* Renders a friendly memory summary screen when a MEMORY tool call is selected.
*
* @param options - View fragments required to render the memory modal.
* @returns Memory-specific modal JSX or `null` when the tool is unrelated.
*
* @private function of ChatToolCallModal
*/
export declare function renderMemoryToolCallDetails(options: RenderMemoryToolCallDetailsOptions): ReactElement | null;
export {};