chore: Updates model_config docstring to explicitly mentioning pydantic.

This is to disambiguate between pydantic model and LLM.

PiperOrigin-RevId: 754981617
This commit is contained in:
Wei Sun (Jack)
2025-05-05 10:12:09 -07:00
committed by Copybara-Service
parent a930633fad
commit dbea793cf5
15 changed files with 18 additions and 13 deletions

View File

@@ -48,6 +48,7 @@ class Event(LlmResponse):
model_config = ConfigDict(
extra='forbid', ser_json_bytes='base64', val_json_bytes='base64'
)
"""The pydantic model config."""
# TODO: revert to be required after spark migration
invocation_id: str = ''

View File

@@ -27,6 +27,7 @@ class EventActions(BaseModel):
"""Represents the actions attached to an event."""
model_config = ConfigDict(extra='forbid')
"""The pydantic model config."""
skip_summarization: Optional[bool] = None
"""If true, it won't call model to summarize function response.