Skip to content

Commit f3dd15a

Browse files
committed
Fix some stuff
1 parent 4344274 commit f3dd15a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pydantic_ai_slim/pydantic_ai/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ class BinaryContent:
485485
"""
486486

487487
_identifier: Annotated[str | None, pydantic.Field(alias='identifier', default=None, exclude=True)] = field(
488-
compare=False, default=None, repr=False
488+
compare=False, default=None
489489
)
490490

491491
kind: Literal['binary'] = 'binary'

tests/models/test_openai_responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5901,7 +5901,7 @@ class Animal(BaseModel):
59015901
ModelRequest(
59025902
parts=[
59035903
RetryPromptPart(
5904-
content='Please include your response in a tool call.',
5904+
content='Please return text or include your response in a tool call.',
59055905
tool_call_id=IsStr(),
59065906
timestamp=IsDatetime(),
59075907
)

0 commit comments

Comments
 (0)