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

Execute isn't a function it's undefined #110

Open
michaelessiet opened this issue Dec 20, 2024 · 1 comment
Open

Execute isn't a function it's undefined #110

michaelessiet opened this issue Dec 20, 2024 · 1 comment

Comments

@michaelessiet
Copy link

michaelessiet commented Dec 20, 2024

I noticed that when getting a plugin's tools execute isn't part of the returned object. The only things returned are name, description and parameters. Is the execute function somehow defaulting to private instead of being a public function?

If you check what is returned from sendSOL().getTools() you'll see that execute isn't part of the returned values. This issue was found in plugins version v0.2.4 and core v0.4.0

abstract execute(parameters: z.infer<TParameters>): TResult | Promise<TResult>;

@0xaguspunk
Copy link
Contributor

Should not be the case, if not the LLM wouldn't be able to execute the function. Could you share the logs you are printing to check this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants