@builder.io/ai-utils 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.ts CHANGED
@@ -453,7 +453,8 @@ export type GenerateCompletionState =
453
453
  | "success"
454
454
  | "abort"
455
455
  | "error"
456
- | "close";
456
+ | "close"
457
+ | "replay";
457
458
 
458
459
  export interface GenerateCompletionStepState {
459
460
  type: "state";
@@ -555,6 +556,7 @@ export interface GenerateUserMessage {
555
556
  attachments?: Attachment[];
556
557
  debugMode?: boolean;
557
558
  logsCheckpoint?: boolean;
559
+ dropAbortedPrompt?: boolean;
558
560
  }
559
561
 
560
562
  export interface UserInput {