SIGN IN SIGN UP

fix(xai): drop orphaned tool_choice after compact strips tools

Compact deletes tools after prepareResponsesRequestTo. On grok-4.6+
image_generation is now kept and rewritten to allowed_tools, so the
leftover choice would be sent without tools. Reuse the existing
normalizer to drop that orphaned selection.

Closes: #5173
程辉 committed
87fb01b2378822f6b652aa5b059f337907f23cf4
Parent: dfdf183