teodor-new-chat-ui 3.0.98 → 3.0.99
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/dist/components/chat/ChatProvider.d.ts +1 -2
- package/dist/components/chat/MessageList.d.ts +3 -1
- package/dist/index.esm.js +4920 -4924
- package/dist/index.umd.js +46 -46
- package/package.json +1 -1
|
@@ -46,7 +46,6 @@ export interface ChatProviderProps {
|
|
|
46
46
|
onError?: (error: string) => void;
|
|
47
47
|
onThreadChange?: (threadId: string | null) => void;
|
|
48
48
|
initialThreadId?: string | null;
|
|
49
|
-
historyPageSize?: number;
|
|
50
49
|
/**
|
|
51
50
|
* If true the provider will attempt to auto-load `initialThreadId` when mounted.
|
|
52
51
|
* Set to false to defer initial loading to the host application.
|
|
@@ -55,5 +54,5 @@ export interface ChatProviderProps {
|
|
|
55
54
|
enableFileAgentRouting?: boolean;
|
|
56
55
|
fileAgentId?: string;
|
|
57
56
|
}
|
|
58
|
-
export declare function ChatProvider({ children, apiConfig, onError, onThreadChange, initialThreadId,
|
|
57
|
+
export declare function ChatProvider({ children, apiConfig, onError, onThreadChange, initialThreadId, autoLoadInitial, enableFileAgentRouting, fileAgentId }: ChatProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
59
58
|
export declare function useChat(): ChatContextValue;
|
|
@@ -17,6 +17,8 @@ export interface MessageListProps {
|
|
|
17
17
|
emptyMessage?: React.ReactNode;
|
|
18
18
|
/** If true, automatically follow new messages when the user is at the bottom. */
|
|
19
19
|
followNewMessages?: boolean;
|
|
20
|
+
/** If true, prevents automatic scrolling during checkpoint navigation */
|
|
21
|
+
isNavigatingCheckpoint?: boolean;
|
|
20
22
|
}
|
|
21
|
-
export declare function MessageList({ messages, isStreaming, streamingAssistantId, streamingDebounceMs, layoutSize, enableMessageEditing, editingMessageId, onStartReached, onEdit, onRegenerate, onCancelEdit, className, style, emptyMessage, followNewMessages, }: MessageListProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function MessageList({ messages, isStreaming, streamingAssistantId, streamingDebounceMs, layoutSize, enableMessageEditing, editingMessageId, onStartReached, onEdit, onRegenerate, onCancelEdit, className, style, emptyMessage, followNewMessages, isNavigatingCheckpoint, }: MessageListProps): import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export default MessageList;
|