Send `MCPSamplingModel` instructions once and include prompted output instructions
- Closes #8768
MCPSamplingModel was building the system prompt from the instructions of every ModelRequest in the history, so on a multi-turn run the same instructions were repeated once per turn. It also joined system prompts and instructions with an empty string, and because request() threw away the parameters returned by prepare_request, the schema instructions that PromptedOutput adds never reached the client.
The model now gets its instructions from _get_instruction_parts on the prepared request parameters, like the other models, and joins the parts with blank lines. One visible difference: system prompts now come before instructions, which matches how the other models order them.
Two tests added to tests/models/test_mcp_sampling.py (a multi-turn run with system prompts and instructions, and PromptedOutput). Both fail on main and pass here.
Checklist
- Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
- No breaking changes in accordance with the version policy.
- Any permitted compatibility impact has a label, warning, migration, release note, and exact API-check waiver.
- PR title is fit for the release changelog.