-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
[BUG] Error checking stopping condition: 'str' object is not callable
error when using a very, very basic agent.
#559
Labels
bug
Something isn't working
Comments
@aimzieslol the stopping condition is supposed to be a callable function, i think what you're looking for is the |
@aimzieslol did it work well? |
Latest test using the same code from before produces this error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using a very basic
Agent
to test functionality, after adding thestopping_condition
as a string to theAgent()
class construction, I see the error shown in the issue title.To Reproduce
This is the
Agent
code:This is how I run it:
Despite a successful run on the first "loop," the agent runs to the maximum loop number because there's no stopping condition.
Upvote & Fund
The text was updated successfully, but these errors were encountered: