+
{/* Logo/Title */}
diff --git a/frontend/src/contexts/layout-context.tsx b/frontend/src/contexts/layout-context.tsx
new file mode 100644
index 00000000..f40ea28c
--- /dev/null
+++ b/frontend/src/contexts/layout-context.tsx
@@ -0,0 +1,34 @@
+"use client";
+
+import { createContext, useContext } from "react";
+
+interface LayoutContextType {
+ headerHeight: number;
+ totalTopOffset: number;
+}
+
+const LayoutContext = createContext(undefined);
+
+export function useLayout() {
+ const context = useContext(LayoutContext);
+ if (context === undefined) {
+ throw new Error("useLayout must be used within a LayoutProvider");
+ }
+ return context;
+}
+
+export function LayoutProvider({
+ children,
+ headerHeight,
+ totalTopOffset
+}: {
+ children: React.ReactNode;
+ headerHeight: number;
+ totalTopOffset: number;
+}) {
+ return (
+
+ {children}
+
+ );
+}
\ No newline at end of file
diff --git a/frontend/src/lib/constants.ts b/frontend/src/lib/constants.ts
index 8e7770fb..9ce34634 100644
--- a/frontend/src/lib/constants.ts
+++ b/frontend/src/lib/constants.ts
@@ -12,7 +12,7 @@ export const DEFAULT_AGENT_SETTINGS = {
export const DEFAULT_KNOWLEDGE_SETTINGS = {
chunk_size: 1000,
chunk_overlap: 200,
- table_structure: false,
+ table_structure: true,
ocr: false,
picture_descriptions: false
} as const;
diff --git a/src/config/config_manager.py b/src/config/config_manager.py
index da059d0d..93fb86c5 100644
--- a/src/config/config_manager.py
+++ b/src/config/config_manager.py
@@ -27,7 +27,7 @@ class KnowledgeConfig:
embedding_model: str = "text-embedding-3-small"
chunk_size: int = 1000
chunk_overlap: int = 200
- table_structure: bool = False
+ table_structure: bool = True
ocr: bool = False
picture_descriptions: bool = False