Task<Response> Retry (CancellationToken cancellationToken)

Parameters

NameTypeDescription
cancellationToken = null CancellationToken A token for the resumed operation, usually a fresh token after cancellation.

Returns

TypeDescription
Task<Response> The final response for the original interrupted turn.

Exceptions

TypeWhen
System.InvalidOperationException No interrupted turn exists, another operation is running, or MaxToolRounds is reached.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.