griptape-ai/griptape

Parameter in framework to set max_retries on ToolTask and ToolkitTask error

shhlife opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
There is not a way to tell the agent to limit retries when it encounters an error. You can use max_subtasks, but that will also limit successful subtasks, which you may not want to do.

Describe the solution you'd like
A max_retries parameter on an agent, and toolkitTask.