mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: Support interactions API for calling models
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com> PiperOrigin-RevId: 843032402
This commit is contained in:
committed by
Copybara-Service
parent
f0bdcaba44
commit
c6320caaa5
@@ -135,6 +135,13 @@ class LlmResponse(BaseModel):
|
||||
This field is automatically populated when citation is enabled.
|
||||
"""
|
||||
|
||||
interaction_id: Optional[str] = None
|
||||
"""The interaction ID from the interactions API.
|
||||
|
||||
This field is populated when using the interactions API for model invocation.
|
||||
It can be used to identify and chain interactions for stateful conversations.
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
def create(
|
||||
generate_content_response: types.GenerateContentResponse,
|
||||
|
||||
Reference in New Issue
Block a user