mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: Add support for store audio and transcription into events/sessions and artifacts
PiperOrigin-RevId: 798011660
This commit is contained in:
committed by
Copybara-Service
parent
f660180854
commit
ddb070ff07
@@ -41,6 +41,18 @@ from google.genai.types import Part
|
||||
from typing_extensions import override
|
||||
|
||||
|
||||
def create_test_agent(name: str = 'test_agent') -> LlmAgent:
|
||||
"""Create a simple test agent for use in unit tests.
|
||||
|
||||
Args:
|
||||
name: The name of the test agent.
|
||||
|
||||
Returns:
|
||||
A configured LlmAgent instance suitable for testing.
|
||||
"""
|
||||
return LlmAgent(name=name)
|
||||
|
||||
|
||||
class UserContent(types.Content):
|
||||
|
||||
def __init__(self, text_or_part: str):
|
||||
|
||||
Reference in New Issue
Block a user