mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 10:40:42 +08:00
- Backend: knowledge router, add_documents, initializer, manager updates - Config: knowledge_base_config, RAG routing improvements - Frontend: guide components, hooks, knowledge page updates - Context providers and type definitions cleanup
23 lines
857 B
TypeScript
23 lines
857 B
TypeScript
/**
|
|
* Context exports - central export point for all contexts
|
|
*/
|
|
|
|
// Composite provider for app layout
|
|
export { CompositeProvider } from "./CompositeProvider";
|
|
|
|
// Individual context hooks
|
|
export { useSolver, SolverProvider } from "./solver";
|
|
export { useQuestion, QuestionProvider } from "./question";
|
|
export { useResearch, ResearchProvider } from "./research";
|
|
export { useChat, ChatProvider } from "./chat";
|
|
export { useUISettings, UISettingsProvider } from "./settings";
|
|
export { useSidebar, SidebarProvider } from "./settings";
|
|
export { useIdeaGen, IdeaGenProvider } from "./ideagen";
|
|
|
|
// Re-export types
|
|
export type { SidebarNavOrder } from "./settings";
|
|
|
|
// Legacy compatibility - useGlobal hook that combines all contexts
|
|
// This allows gradual migration without breaking existing code
|
|
export { useGlobal, GlobalProvider } from "./GlobalContext";
|