teodor-new-chat-ui 4.3.466 → 4.3.467

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.
@@ -35,5 +35,11 @@ export interface ChatInterfaceProps {
35
35
  file: File;
36
36
  }) => void;
37
37
  onError?: (error: string) => void;
38
+ /**
39
+ * Explicit message to show when the thread is empty instead of fetching the
40
+ * default agent prompt from the backend. Pass `undefined` to fall back to the
41
+ * agent's `uiDefaultMessage`.
42
+ */
43
+ defaultMessage?: string | null;
38
44
  }
39
- export declare function ChatInterface({ className, placeholder, autoFocus, maxHeight, streamingDebounceMs, streamingThrottleMs, followNewMessages, enableFileUpload, enableExcelUpload, enableMessageEditing, showToolMessages, payloadExtras, customStyles, onMessageSent, onExcelUploadSuccess, onError, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
45
+ export declare function ChatInterface({ className, placeholder, autoFocus, maxHeight, streamingDebounceMs, streamingThrottleMs, followNewMessages, enableFileUpload, enableExcelUpload, enableMessageEditing, showToolMessages, payloadExtras, customStyles, onMessageSent, onExcelUploadSuccess, onError, defaultMessage, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;