UNPKG

jodit-pro

Version:

PRO Version of Jodit Editor

15 lines (14 loc) 633 B
import type { IJodit } from "jodit/esm/types/index"; import type { IConversation } from "../interface/index"; /** * Create new conversation */ export declare function createNewConversation(jodit: IJodit, defaultModel: string | undefined, defaultTemperature: number | undefined, messages?: IConversation['messages']): IConversation; /** * Find last non-error assistant message for parentMessageId */ export declare function findParentMessageId(conversation: IConversation): string | null; /** * Check if all tool calls have been executed */ export declare function areAllToolCallsExecuted(conversation: IConversation): boolean;