a0b29343b4
Follow-ups to the previous commit (#74155 by @Drexuxux): - enrich_model_switch_warnings_for_gateway() -> merge_preflight_compression_warning() still called the sync resolve_display_context_length() provider probe ladder inline in both async /model call sites; dispatch it via asyncio.to_thread. - Replace the inspect.getsource() test (source-reading tests are banned by AGENTS.md) with behavioral tests that drive the real _handle_model_command: assert the resolver runs off the loop thread and that the warning enrichment is dispatched through asyncio.to_thread.