mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
7762c43863
Restores #5151 (north-star + batch 1 + crewai-flows + llamaindex), #5196 (pydantic-ai), #5205 (a2a-middleware), #5211 (mcp-apps), reconciled onto the current main baseline rather than the pre-revert tree: - keep main's 1.59.3 pins, AGENT_URL normalization, default agent keys, useConfigureSuggestions, available:false, useRenderTool status/parameters API, call-time agent.state reads, and crewai-crews' rebuilt page (not yet threads-migrated) - graft the threads layer (drawer/gate/provider, env-gated route intelligence block, next.config gate, env docs, drawer deps) on top - drop threads-era sidebar suggestions props where main now registers suggestions via useConfigureSuggestions (or omits them) - fix the stale pydantic-ai doc link main reintroduced in ms-af-dotnet Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
660 B
TypeScript
31 lines
660 B
TypeScript
import type { Metadata } from "next";
|
|
|
|
import { CopilotKit } from "@copilotkit/react-core";
|
|
import "./globals.css";
|
|
import "@copilotkit/react-ui/v2/styles.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={"antialiased"}>
|
|
<CopilotKit
|
|
runtimeUrl="/api/copilotkit"
|
|
showDevConsole={false}
|
|
useSingleEndpoint={false}
|
|
>
|
|
{children}
|
|
</CopilotKit>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|