teodor-new-chat-ui 3.0.176 → 3.0.178
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/context/ChatProvider.d.ts +6 -1
- package/dist/index.esm.js +3227 -3227
- package/dist/index.umd.js +43 -43
- package/package.json +1 -1
|
@@ -53,8 +53,13 @@ export interface ChatProviderProps {
|
|
|
53
53
|
* Set to false to defer initial loading to the host application.
|
|
54
54
|
*/
|
|
55
55
|
autoLoadInitial?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* If true, prevents auto-loading from localStorage on mount.
|
|
58
|
+
* Useful when you want full control over initial thread without localStorage interference.
|
|
59
|
+
*/
|
|
60
|
+
disableAutoRestore?: boolean;
|
|
56
61
|
enableFileAgentRouting?: boolean;
|
|
57
62
|
fileAgentId?: string;
|
|
58
63
|
}
|
|
59
|
-
export declare function ChatProvider({ children, apiConfig, onError, onThreadChange, initialThreadId, autoLoadInitial, enableFileAgentRouting, fileAgentId }: ChatProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export declare function ChatProvider({ children, apiConfig, onError, onThreadChange, initialThreadId, autoLoadInitial, disableAutoRestore, enableFileAgentRouting, fileAgentId }: ChatProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
60
65
|
export declare function useChat(): ChatContextValue;
|