2f469d7e1e
Preserve initialization-time request overrides (custom-provider extra_body merged at agent construction) while replacing only the previous turn's routing overrides during the per-turn agent refresh. This keeps custom-provider extra_body settings without leaving stale fast-mode service_tier or speed values on cached agents. Reimplemented from PR #52432 at the code's current location (the per-turn refresh moved into the TurnRunner path since the original patch), keeping the original merge semantics: snapshot this turn's route overrides in agent._gateway_turn_request_overrides, evict only unchanged previous-turn keys, then layer the new turn overrides on top. Salvaged-from: #52432 Co-authored-by: Heng Cai <abtion@outlook.com>