Is there a way to raise a `RetryRequested` but pro...
# ask-ai
p
Is there a way to raise a
RetryRequested
but provide a new run config to use?
s
No, there is currently no supported way to raise a
RetryRequested
with a new run config. The
RetryRequested
exception is used to manually request a retry of an op within the same run, and it does not support modifying the run config for the retry. The run config is determined at the start of the run and is not designed to be changed during execution. If you need to modify the run config and retry the run, you would typically need to start a new run with the updated configuration. This would not be done through the
RetryRequested
mechanism but rather through creating a new run request with the desired run config.