mirror backend change
This commit is contained in:
@@ -4,6 +4,12 @@ export const EDITOR_AGENT_MAX_ATTACHMENTS = 9;
|
||||
|
||||
export type EditorAgentMessageRole = 'user' | 'assistant' | 'system';
|
||||
|
||||
export type EditorAgentToolCallStatus =
|
||||
| 'not_completed'
|
||||
| 'completed'
|
||||
| 'failed'
|
||||
| 'cancelled';
|
||||
|
||||
export type EditorAgentAttachmentSource = 'canvas_resource' | 'library_asset';
|
||||
|
||||
export interface EditorAgentAttachmentRef {
|
||||
@@ -78,10 +84,10 @@ export interface EditorAgentToolCallDisplayArgs {
|
||||
|
||||
export interface EditorAgentToolCall {
|
||||
toolName: string;
|
||||
status: EditorAgentToolCallStatus;
|
||||
args: unknown;
|
||||
displayArgs: EditorAgentToolCallDisplayArgs;
|
||||
externalJobId?: string | null;
|
||||
cancelledAt?: string | null;
|
||||
images: EditorAgentGeneratedImage[];
|
||||
// Older persisted conversation documents do not contain these media fields.
|
||||
videos?: EditorAgentGeneratedVideo[];
|
||||
|
||||
Reference in New Issue
Block a user