Replies: 1 comment 1 reply
-
I finally understood what is the issue. Seems I was missing one stop sequence for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I'm developing a custom agent that can generate images connected to a local instance of Stable Diffusion. However I wanted to know why if I put the logic for building the agent inside a class, the agent works but it's silently unable to call the tools functions. No error or nothing, it just simply ignores them even though the output is correctly formatted. I'm not putting this as an issue because I think this is something more basic and I'm overlooking it.
Here's my code:
If I put all the logic outside the class, and run it as a script, it works as expected and the agent calls the function for image generation. What is wrong with my code then? It has to do with the way I designed the class.
Beta Was this translation helpful? Give feedback.
All reactions