Skip to content

Commit a7f4e02

Browse files
hangfeicopybara-github
authored andcommitted
chore: Clarify that LLMResponse.content should only contain user/model-generated content
PiperOrigin-RevId: 806157090
1 parent 908757b commit a7f4e02

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/google/adk/models/llm_response.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ class LlmResponse(BaseModel):
5252
"""The pydantic model config."""
5353

5454
content: Optional[types.Content] = None
55-
"""The content of the response."""
55+
"""The generative content of the response.
56+
57+
This should only contain content from the user or the model, and not any
58+
framework or system-generated data.
59+
"""
5660

5761
grounding_metadata: Optional[types.GroundingMetadata] = None
5862
"""The grounding metadata of the response."""

0 commit comments

Comments
 (0)