You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:internal/modules/run_main:129
triggerUncaughtException(
^
Error: Model is required.
at /Users/kevincheung/tmp/0.9-dev.1-test/node_modules/.pnpm/@genkit-ai+ai@0.9.0-dev.2/node_modules/@genkit-ai/ai/lib/generate.js:396:13
at Generator.next (<anonymous>)
at /Users/kevincheung/tmp/0.9-dev.1-test/node_modules/.pnpm/@genkit-ai+ai@0.9.0-dev.2/node_modules/@genkit-ai/ai/lib/generate.js:54:61
at new Promise (<anonymous>)
at __async (/Users/kevincheung/tmp/0.9-dev.1-test/node_modules/.pnpm/@genkit-ai+ai@0.9.0-dev.2/node_modules/@genkit-ai/ai/lib/generate.js:38:10)
at resolveModel (/Users/kevincheung/tmp/0.9-dev.1-test/node_modules/.pnpm/@genkit-ai+ai@0.9.0-dev.2/node_modules/@genkit-ai/ai/lib/generate.js:393:10)
at /Users/kevincheung/tmp/0.9-dev.1-test/node_modules/.pnpm/@genkit-ai+ai@0.9.0-dev.2/node_modules/@genkit-ai/ai/lib/generate.js:433:33
at Generator.next (<anonymous>)
at fulfilled (/Users/kevincheung/tmp/0.9-dev.1-test/node_modules/.pnpm/@genkit-ai+ai@0.9.0-dev.2/node_modules/@genkit-ai/ai/lib/generate.js:41:24)
Adding a default model to genkit() makes it work.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Runtime (please complete the following information):
OS: [e.g. Linux, MacOS]
Version [e.g. 22]
** Node version
run node --version at paste here
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
the model specified in .prompt is ignored
To Reproduce
This .prompt file:
Fails when run with:
Error:
Adding a default model to
genkit()
makes it work.Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Runtime (please complete the following information):
** Node version
node --version
at paste hereAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: