Allow agents to retry if a call fails

Created on 19 November 2024, 3 days ago

Problem/Motivation

If the call to an LLM fails, the Agent should be able to retry to the call, providing additional context as to why it failed that may help it to succeed.

Proposed resolution

Two new Exceptions should be added - retryable exception an nonretryable exception - that can be thrown as needed by the validation plugins. Retryable exceptions will be able to provide additional instructions to the LLM to explain the failure that the code can append to the original prompt to try again.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom MrDaleSmith

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024