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

[JS] Tools should be executable #1089

Open
maxl0rd opened this issue Oct 21, 2024 · 1 comment
Open

[JS] Tools should be executable #1089

maxl0rd opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working js

Comments

@maxl0rd
Copy link
Contributor

maxl0rd commented Oct 21, 2024

Tools should be executable.

I want to:

const peepTool = ai.defineTool(...);
// and then somewhere later
await peepTool();

But I get the dreaded

Error: getRegistryInstance() called before runWithRegistry()

Runtime (please complete the following information):

  • OS: MacOS
  • Version [e.g. 22]

** Node version

  • v20.15.1

On Getkit next branch.

@maxl0rd maxl0rd added bug Something isn't working js labels Oct 21, 2024
@maxl0rd
Copy link
Contributor Author

maxl0rd commented Oct 22, 2024

Should be fixed by #1091

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working js
Projects
Status: No status
Development

No branches or pull requests

1 participant