@builder.io/ai-utils 0.3.13 → 0.3.15
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.
- package/package.json +1 -1
- package/src/codegen.ts +4 -1
package/package.json
CHANGED
package/src/codegen.ts
CHANGED
|
@@ -326,6 +326,7 @@ export interface GenerateCompletionStepPlanning {
|
|
|
326
326
|
export interface GenerateCompletionStepUser {
|
|
327
327
|
type: "user";
|
|
328
328
|
displayPrompt: string | undefined;
|
|
329
|
+
attachments?: Array<Attachment>;
|
|
329
330
|
id: string;
|
|
330
331
|
user: UserSource;
|
|
331
332
|
role: "user" | "agent";
|
|
@@ -453,7 +454,8 @@ export type GenerateCompletionState =
|
|
|
453
454
|
| "success"
|
|
454
455
|
| "abort"
|
|
455
456
|
| "error"
|
|
456
|
-
| "close"
|
|
457
|
+
| "close"
|
|
458
|
+
| "replay";
|
|
457
459
|
|
|
458
460
|
export interface GenerateCompletionStepState {
|
|
459
461
|
type: "state";
|
|
@@ -555,6 +557,7 @@ export interface GenerateUserMessage {
|
|
|
555
557
|
attachments?: Attachment[];
|
|
556
558
|
debugMode?: boolean;
|
|
557
559
|
logsCheckpoint?: boolean;
|
|
560
|
+
dropAbortedPrompt?: boolean;
|
|
558
561
|
}
|
|
559
562
|
|
|
560
563
|
export interface UserInput {
|