Drop the duplicate message imports in `test_openai_prompt_cache.py`
Merged
DO
2mo ago+1+1+0123456789-1-1-0123456789
main fails ruff on tests/models/test_openai_prompt_cache.py, because ModelRequest, ModelResponse and TextPart are each imported twice. #9582 imported them from pydantic_ai.messages, and #9406 imported them from pydantic_ai. Each PR passed CI on its own, and the duplicate only appeared once both had merged. This PR drops the names from the pydantic_ai import, leaving the pydantic_ai.messages block as the single source.
No issue: this fixes main's CI.
Checklist
- 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.
š¤ Generated with Claude Code