Skip to content

Commit

Permalink
Update pydantic_ai_slim/pydantic_ai/messages.py
Browse files Browse the repository at this point in the history
This ref will be __qualname__

Co-authored-by: Samuel Colvin <[email protected]>
  • Loading branch information
josead and samuelcolvin authored Jan 2, 2025
1 parent 20cd93a commit 59f0ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_ai_slim/pydantic_ai/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DynamicSystemPromptPart(SystemPromptPart):
Same as `SystemPromptPart`, but its content is regenerated on each run.
"""

ref: int | None = None
ref: str
"""The ref ID of the system prompt function that generated this part."""


Expand Down

0 comments on commit 59f0ef4

Please sign in to comment.