Fix mid-conversation `SystemPromptPart`s being incorrectly hoisted into the top-level system prompt on Anthropic, Google, and Bedrock

Merged
NA
6mo ago
+307-21

Non-leading SystemPromptParts are now wrapped as <system>-tagged UserPromptParts on Anthropic, Google, and Bedrock, gated by ModelProfile.supports_inline_system_prompts.

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.
  • PR title is fit for the release changelog.