792dbea777
Salvaged from #56876 (cron half only; the delegation half is superseded by #98237). run_job's ephemeral AIAgent constructor passed api_key / base_url / provider / api_mode from the resolved runtime but dropped request_overrides, so cron jobs on custom providers silently lost extra_body / extra_headers request settings.