From 7d279bc622d2376d7c7099400cc2f52d2c918543 Mon Sep 17 00:00:00 2001 From: Pavel Jbanov Date: Wed, 16 Apr 2025 19:21:42 -0400 Subject: [PATCH] chore(js/plugins/next): fixes to README.md --- js/plugins/next/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/plugins/next/README.md b/js/plugins/next/README.md index fede4b50d6..6c76da3859 100644 --- a/js/plugins/next/README.md +++ b/js/plugins/next/README.md @@ -20,15 +20,15 @@ const simpleFlow = ai.defineFlow( ```ts // /app/api/simpleFlow/route.ts import { simpleFlow } from '@/genkit/simpleFlow'; -import { appRoute } from '@genkit-ai/nextjs'; +import { appRoute } from '@genkit-ai/next'; export const POST = appRoute(simpleFlow); ``` -APIs can be called with the generic `genkit/beta/client` library, or `@genkit-ai/nextjs/client` +APIs can be called with the generic `genkit/beta/client` library, or `@genkit-ai/next/client` ```ts -import { runFlow, streamFlow } from '@genkit-ai/nextjs/client'; +import { runFlow, streamFlow } from '@genkit-ai/next/client'; import { simpleFlow } from '@/genkit/simpleFlow'; const result = await runFlow({