@assistant-ui/react 0.5.65 → 0.5.67

Sign up to get free protection for your applications and to get access to all the features.
@@ -108,7 +108,7 @@ type ThreadAssistantMessage = MessageCommonProps & {
108
108
  };
109
109
  type AppendMessage = CoreMessage & {
110
110
  parentId: string | null;
111
- attachments?: readonly MessageAttachment[];
111
+ attachments?: readonly MessageAttachment[] | undefined;
112
112
  };
113
113
  type ThreadMessage = ThreadSystemMessage | ThreadUserMessage | ThreadAssistantMessage;
114
114
  /** Core Message Types (without UI content parts) */
@@ -464,4 +464,4 @@ declare const createEdgeRuntimeAPI: (options: CreateEdgeRuntimeAPIOptions) => {
464
464
  POST: (request: Request) => Promise<Response>;
465
465
  };
466
466
 
467
- export { type AppendMessage as A, type ContentPartStatus as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type ModelConfig as M, type TextContentPart as T, type UIContentPart as U, type ToolCallContentPart as a, type ToolCallContentPartStatus as b, type ThreadMessage as c, type CoreMessage as d, type ThreadComposerAttachment as e, type ModelConfigProvider as f, type ThreadAssistantContentPart as g, type MessageStatus as h, type ThreadRoundtrip as i, type MessageAttachment as j, type Tool as k, type CoreToolCallContentPart as l, type CreateEdgeRuntimeAPIOptions as m, type ThreadUserContentPart as n, type ThreadSystemMessage as o, type ThreadAssistantMessage as p, type ThreadUserMessage as q, type CoreUserContentPart as r, type CoreAssistantContentPart as s, type CoreSystemMessage as t, type CoreUserMessage as u, type CoreAssistantMessage as v, createEdgeRuntimeAPI as w, getEdgeRuntimeResponse as x };
467
+ export { type AppendMessage as A, type CoreMessage as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type ModelConfig as M, type ThreadComposerAttachment as T, type UIContentPart as U, type ThreadMessage as a, type ModelConfigProvider as b, type ThreadAssistantContentPart as c, type MessageStatus as d, type ThreadRoundtrip as e, type MessageAttachment as f, type Tool as g, type TextContentPart as h, type ToolCallContentPart as i, type CoreToolCallContentPart as j, type CreateEdgeRuntimeAPIOptions as k, type ThreadUserContentPart as l, type ContentPartStatus as m, type ToolCallContentPartStatus as n, type ThreadSystemMessage as o, type ThreadAssistantMessage as p, type ThreadUserMessage as q, type CoreUserContentPart as r, type CoreAssistantContentPart as s, type CoreSystemMessage as t, type CoreUserMessage as u, type CoreAssistantMessage as v, createEdgeRuntimeAPI as w, getEdgeRuntimeResponse as x };
@@ -108,7 +108,7 @@ type ThreadAssistantMessage = MessageCommonProps & {
108
108
  };
109
109
  type AppendMessage = CoreMessage & {
110
110
  parentId: string | null;
111
- attachments?: readonly MessageAttachment[];
111
+ attachments?: readonly MessageAttachment[] | undefined;
112
112
  };
113
113
  type ThreadMessage = ThreadSystemMessage | ThreadUserMessage | ThreadAssistantMessage;
114
114
  /** Core Message Types (without UI content parts) */
@@ -464,4 +464,4 @@ declare const createEdgeRuntimeAPI: (options: CreateEdgeRuntimeAPIOptions) => {
464
464
  POST: (request: Request) => Promise<Response>;
465
465
  };
466
466
 
467
- export { type AppendMessage as A, type ContentPartStatus as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type ModelConfig as M, type TextContentPart as T, type UIContentPart as U, type ToolCallContentPart as a, type ToolCallContentPartStatus as b, type ThreadMessage as c, type CoreMessage as d, type ThreadComposerAttachment as e, type ModelConfigProvider as f, type ThreadAssistantContentPart as g, type MessageStatus as h, type ThreadRoundtrip as i, type MessageAttachment as j, type Tool as k, type CoreToolCallContentPart as l, type CreateEdgeRuntimeAPIOptions as m, type ThreadUserContentPart as n, type ThreadSystemMessage as o, type ThreadAssistantMessage as p, type ThreadUserMessage as q, type CoreUserContentPart as r, type CoreAssistantContentPart as s, type CoreSystemMessage as t, type CoreUserMessage as u, type CoreAssistantMessage as v, createEdgeRuntimeAPI as w, getEdgeRuntimeResponse as x };
467
+ export { type AppendMessage as A, type CoreMessage as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type ModelConfig as M, type ThreadComposerAttachment as T, type UIContentPart as U, type ThreadMessage as a, type ModelConfigProvider as b, type ThreadAssistantContentPart as c, type MessageStatus as d, type ThreadRoundtrip as e, type MessageAttachment as f, type Tool as g, type TextContentPart as h, type ToolCallContentPart as i, type CoreToolCallContentPart as j, type CreateEdgeRuntimeAPIOptions as k, type ThreadUserContentPart as l, type ContentPartStatus as m, type ToolCallContentPartStatus as n, type ThreadSystemMessage as o, type ThreadAssistantMessage as p, type ThreadUserMessage as q, type CoreUserContentPart as r, type CoreAssistantContentPart as s, type CoreSystemMessage as t, type CoreUserMessage as u, type CoreAssistantMessage as v, createEdgeRuntimeAPI as w, getEdgeRuntimeResponse as x };