teodor-new-chat-ui 3.0.35 → 3.0.36

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.
@@ -46,8 +46,13 @@ export interface ChatProviderProps {
46
46
  onThreadChange?: (threadId: string | null) => void;
47
47
  initialThreadId?: string | null;
48
48
  historyPageSize?: number;
49
+ /**
50
+ * If true the provider will attempt to auto-load `initialThreadId` when mounted.
51
+ * Set to false to defer initial loading to the host application.
52
+ */
53
+ autoLoadInitial?: boolean;
49
54
  enableFileAgentRouting?: boolean;
50
55
  fileAgentId?: string;
51
56
  }
52
- export declare function ChatProvider({ children, apiConfig, onError, onThreadChange, initialThreadId, historyPageSize, enableFileAgentRouting, fileAgentId }: ChatProviderProps): import("react/jsx-runtime").JSX.Element;
57
+ export declare function ChatProvider({ children, apiConfig, onError, onThreadChange, initialThreadId, historyPageSize, autoLoadInitial, enableFileAgentRouting, fileAgentId }: ChatProviderProps): import("react/jsx-runtime").JSX.Element;
53
58
  export declare function useChat(): ChatContextValue;