Fix for free Gemini 2.5 Pro Experimental OpenRouter endpoint.
Retries for "No endpoints found that support cache control" error that showed up when OpenRouter temporarily disabled caching for Gemini 2.5 Pro Preview.
Other minor improvements to error handling and retries.