diff --git a/backend/app/services/training_monitor.py b/backend/app/services/training_monitor.py index 33b028d..9cfa5a8 100644 --- a/backend/app/services/training_monitor.py +++ b/backend/app/services/training_monitor.py @@ -175,7 +175,7 @@ class TrainingMonitor: logger.error(f"Monitor error: {str(e)}") await asyncio.sleep(5) - async def get_log(self, lines: int = 50) -> List[str]: + async def get_log(self, lines: int = 100) -> List[str]: """Get recent log entries""" return self.recent_logs[-lines:] diff --git a/frontend/next.config.ts b/frontend/next.config.ts index cb6eef4..4769445 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -2,6 +2,9 @@ import type {NextConfig} from "next"; const nextConfig: NextConfig = { /* config options here */ + images: { + domains: ['localhost'], + } }; export default nextConfig; diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index 1affe3a..68f61d7 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,6 +1,8 @@ import type {Metadata} from "next"; import {Geist, Geist_Mono} from "next/font/google"; import "./globals.css"; +import {TrainingProvider} from "@/contexts/TrainingContext"; +import {SamplesProvider} from "@/contexts/SamplesContext"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -27,7 +29,12 @@ export default function RootLayout({
- {children} +