We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f1868 commit 0f46928Copy full SHA for 0f46928
pydantic_ai_slim/pydantic_ai/models/__init__.py
@@ -759,6 +759,8 @@ async def download_item(
759
data_type = media_type
760
if type_format == 'extension':
761
data_type = data_type.split('/')[1]
762
+ if data_type == 'mpeg': # pragma: no cover
763
+ data_type = 'mp3'
764
765
data = response.content
766
if data_format in ('base64', 'base64_uri'):
0 commit comments