jodit-pro
Version:
PRO Version of Jodit Editor
9 lines (8 loc) • 477 B
TypeScript
import type { IJodit } from "jodit/esm/types/index";
import type { ToolRegistry } from "../helpers/tool-registry";
import type { IAIMessage, IToolCall } from "../interface/index";
/**
* Execute a tool call and add result to conversation
*/
export declare function executeToolCall(jodit: IJodit, toolCall: IToolCall, toolRegistry: ToolRegistry): Promise<IToolCall>;
export declare function updateToolCallInMessage(message: IAIMessage, updatedToolCall: IToolCall): IAIMessage;