-
Notifications
You must be signed in to change notification settings - Fork 17
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
Output handler max iterations #61
Conversation
@@ -58,17 +63,17 @@ def agent(): | |||
|
|||
except ModuleNotInstalled: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LlamaIndex should always be installed in test environments, so let's remove this try-except block.
Also, let's replace DuckDuckGoSearchRun with some mock tool in this and other tests, because it's quite possible we'll get rid of this dependency one day.
motleycrew/common/exceptions.py
Outdated
self.kwargs = kwargs | ||
|
||
def __str__(self): | ||
return "\n args: {}\n kwargs: {}".format(self.args, self.kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return "\n args: {}\n kwargs: {}".format(self.args, self.kwargs) | |
return "Maximum number of output handler iterations exceeded" |
No description provided.