Stores modelProvider/modelId in the run's inputMetadata.metadata at creation time, then recovers it in the retry handler so the user's explicit model choice survives a transient failure and retry. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>