Skip to content

Commit a7cef3d

Browse files
committed
docstring
1 parent ee6a176 commit a7cef3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_ai_slim/pydantic_ai/messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ class ModelRequest:
971971
"""The unique identifier of the agent run in which this message originated."""
972972

973973
metadata: dict[str, Any] | None = None
974-
"""Additional data tagged on the message but is not sent to the model"""
974+
"""Additional data that can be accessed programmatically by the application but is not sent to the LLM."""
975975

976976
@classmethod
977977
def user_text_prompt(cls, user_prompt: str, *, instructions: str | None = None) -> ModelRequest:
@@ -1218,7 +1218,7 @@ class ModelResponse:
12181218
"""The unique identifier of the agent run in which this message originated."""
12191219

12201220
metadata: dict[str, Any] | None = None
1221-
"""Additional data tagged on the message but is not sent to the model"""
1221+
"""Additional data that can be accessed programmatically by the application but is not sent to the LLM."""
12221222

12231223
@property
12241224
def text(self) -> str | None:

0 commit comments

Comments
 (0)