Skip to content
New issue

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

[Tooling] Tools in the SchoolAgent Sample Fail to Run #1731

Open
i2amsam opened this issue Jan 31, 2025 · 0 comments
Open

[Tooling] Tools in the SchoolAgent Sample Fail to Run #1731

i2amsam opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working tooling

Comments

@i2amsam
Copy link
Contributor

i2amsam commented Jan 31, 2025

Describe the bug
Running the School Agent tools in the DevUI fails

not running within a session
Error: not running within a session
    at GenkitBeta.currentSession (/Users/samphillips/dev/genkit/genkit/samples/js-schoolAgent/node_modules/genkit/src/beta.ts:147:13)
    at <anonymous> (/Users/samphillips/dev/genkit/genkit/samples/js-schoolAgent/src/tools.ts:138:33)
    at <anonymous> (/Users/samphillips/dev/genkit/genkit/samples/js-schoolAgent/node_modules/@genkit-ai/ai/src/tool.ts:224:7)
    at <anonymous> (/Users/samphillips/dev/genkit/genkit/samples/js-schoolAgent/node_modules/@genkit-ai/core/src/action.ts:426:62)

To Reproduce
Checkout branch #1729

Run a tool in the DevUI

Expected behavior
DevUI able to run the prompts

Screenshots

Image

Run on

node -v && genkit --version
v20.11.1
1.0.0-rc.10
@i2amsam i2amsam added bug Something isn't working tooling labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tooling
Projects
Status: No status
Development

No branches or pull requests

1 participant