Skip to content

Commit 0b17f62

Browse files
authored
fix linting again
1 parent 5335ff9 commit 0b17f62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pydantic_ai_slim/pydantic_ai/models/mistral.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,9 @@ def _map_user_prompt(self, part: UserPromptPart) -> MistralUserMessage:
542542
content.append(MistralImageURLChunk(image_url=image_url, type='image_url'))
543543
elif item.media_type == 'application/pdf':
544544
content.append(
545-
MistralDocumentURLChunk(document_url=f'data:application/pdf;base64,{base64_encoded}',
546-
type='document_url')
545+
MistralDocumentURLChunk(
546+
document_url=f'data:application/pdf;base64,{base64_encoded}', type='document_url'
547+
)
547548
)
548549
else:
549550
raise RuntimeError('BinaryContent other than image or PDF is not supported in Mistral.')

0 commit comments

Comments
 (0)