@builder.io/ai-utils
Advanced tools
Comparing version 0.0.39 to 0.0.40
@@ -108,4 +108,5 @@ import type { BuilderContent, BuilderElement } from "@builder.io/sdk"; | ||
} | ||
export interface ContentPatchBase { | ||
interface ContentPatchBase { | ||
id: string; | ||
description?: string; | ||
index: number; | ||
@@ -328,1 +329,2 @@ value: string; | ||
} : T; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { ContentPatchBase, ContentUpdatePatch } from "./events"; | ||
import { ContentUpdatePatch } from "./events"; | ||
/** | ||
@@ -68,10 +68,4 @@ * Message param does not know the id of the message. | ||
*/ | ||
patches?: AssistantPatch[]; | ||
patches?: ContentUpdatePatch[]; | ||
} | ||
export interface AssistantPatch { | ||
index: ContentPatchBase['index']; | ||
value: ContentPatchBase['value']; | ||
incomplete?: ContentPatchBase['incomplete']; | ||
type: ContentUpdatePatch['type']; | ||
} | ||
export interface SystemMessage extends SystemMessageParam { | ||
@@ -78,0 +72,0 @@ id: string; |
{ | ||
"name": "@builder.io/ai-utils", | ||
"version": "0.0.39", | ||
"version": "0.0.40", | ||
"description": "Builder.io AI utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
25016
810