-
Notifications
You must be signed in to change notification settings - Fork 967
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
Retry mechanism for ModelBehaviorError #325
Comments
Hmm can you share some code? |
This is the exception occurred
The agent is defined as
Run config
I ran the agent with
|
Ah got it. I can add something to fix this. |
@rm-openai hey! having the same question regarding retries and also want to know the proper way of using tenacity.retry with Runner.run_streamed (if possible). Thanks! |
I have extensively use this framework during the recent week. It performs pretty well, except on rare circumstances, the LLM will attempt to call a nonexistent tool, which crashed a whole 10-min agent run. Can you implement a retry mechanism allowing re-execute the errored LLM call to have a chance to recover from the it?
The text was updated successfully, but these errors were encountered: