Self-hosted, Docker-based agentic troubleshooting platform: FastAPI backend + LangGraph agent, Next.js UI, tiered LLM routing (local Ollama -> Gemini -> DeepSeek -> OpenRouter), MCP server manager, encrypted device credentials, RBAC, audit log, project-memory + Obsidian integrations, and editable troubleshooting decision rules tuned for the GeneseasX vessel stack. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
560 B
TypeScript
24 lines
560 B
TypeScript
"use client";
|
|
|
|
import { SWRConfig } from "swr";
|
|
import { AuthProvider } from "@/lib/auth";
|
|
import { ToastProvider } from "@/components/toast";
|
|
|
|
export default function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<SWRConfig
|
|
value={{
|
|
revalidateOnFocus: true,
|
|
refreshWhenHidden: false,
|
|
refreshWhenOffline: false,
|
|
dedupingInterval: 2000,
|
|
errorRetryCount: 3,
|
|
}}
|
|
>
|
|
<AuthProvider>
|
|
<ToastProvider>{children}</ToastProvider>
|
|
</AuthProvider>
|
|
</SWRConfig>
|
|
);
|
|
}
|