Skip to content

Commit c9821df

Browse files
committed
Re-export CopilotKitInspector
1 parent 427129b commit c9821df

File tree

4 files changed

+3
-58
lines changed

4 files changed

+3
-58
lines changed

apps/react/storybook/stories/WebInspector.stories.tsx

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/react/src/components/WebInspector.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

packages/react/src/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
export * from "./chat";
55
export * from "./WildcardToolCallRender";
6-
export * from "./WebInspector";
6+
export * from "./CopilotKitInspector";

packages/react/src/providers/CopilotKitProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { z } from "zod";
1818
import { FrontendTool } from "@copilotkitnext/core";
1919
import { AbstractAgent } from "@ag-ui/client";
2020
import { CopilotKitCoreReact } from "../lib/react-core";
21-
import { WebInspector } from "../components/WebInspector";
21+
import { CopilotKitInspector } from "../components/CopilotKitInspector";
2222

2323
// Define the context value interface - idiomatic React naming
2424
export interface CopilotKitContextValue {
@@ -259,7 +259,7 @@ export const CopilotKitProvider: React.FC<CopilotKitProviderProps> = ({
259259
}}
260260
>
261261
{children}
262-
{shouldRenderInspector ? <WebInspector core={copilotkit} /> : null}
262+
{shouldRenderInspector ? <CopilotKitInspector core={copilotkit} /> : null}
263263
</CopilotKitContext.Provider>
264264
);
265265
};

0 commit comments

Comments
 (0)