We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Running a simple flow in Next.js (in a test) it complained about missing uuid.
uuid
I'm not 100% this is a genkit issue, but my flow was just this:
import { z } from "genkit"; import { ai } from "../genkit"; export const mainFlow = ai.defineFlow( { name: "mainFlow", inputSchema: z.string(), outputSchema: z.string(), }, async (input) => input );
and my test:
import { describe, it, expect } from "vitest"; import { mainFlow } from "./mainFlow"; describe("mainFlow", () => { it("should run", async () => { const result = await mainFlow("hello"); expect(result).toBe("hello"); }); });
Expected behavior Not to need to install uuid as a dependency, probably
Screenshots
Runtime (please complete the following information):
** Node version ❯ node --version v20.11.1
Additional context This is on the 0.9 RC
The text was updated successfully, but these errors were encountered:
We found we needed to add uuid during testing in this update as well
Sorry, something went wrong.
Gustolandia
No branches or pull requests
Describe the bug
Running a simple flow in Next.js (in a test) it complained about missing
uuid
.I'm not 100% this is a genkit issue, but my flow was just this:
and my test:
Expected behavior
Not to need to install
uuid
as a dependency, probablyScreenshots
Runtime (please complete the following information):
** Node version
❯ node --version
v20.11.1
Additional context
This is on the 0.9 RC
The text was updated successfully, but these errors were encountered: