Files
Agentic-OS/frontend/components/providers.tsx
nearxos 6185b9b85a Initial commit: Agentic OS troubleshooting platform
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>
2026-06-14 22:11:07 +03:00

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>
);
}