@builder.io/ai-utils
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -29,3 +29,5 @@ import type { BuilderContent, BuilderElement, Component } from "@builder.io/sdk"; | ||
/** | ||
* The user message to submit to the assistant. | ||
* The message history of the conversation, user prompt then assistant response. | ||
* The messages are ordered from oldest to newest. The last message in the array | ||
* is the message that the user has just sent. | ||
*/ | ||
@@ -32,0 +34,0 @@ messages: MessageParam[]; |
@@ -100,3 +100,3 @@ import type { BuilderContent, BuilderElement } from "@builder.io/sdk"; | ||
} | ||
export type ContentUpdatePatch = ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch | ContentSetStorePatch; | ||
export type ContentUpdatePatch = ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch | ContentSetStorePatch | ContentSetMountPatch; | ||
export interface NodeData { | ||
@@ -145,2 +145,5 @@ /** | ||
} | ||
export interface ContentSetMountPatch extends ContentPatchBase { | ||
type: "mount"; | ||
} | ||
export interface ContentCompleteEvent { | ||
@@ -147,0 +150,0 @@ type: "assistant.content.complete"; |
{ | ||
"name": "@builder.io/ai-utils", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "Builder.io AI utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
22896
740