mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: Enable A2A features as experimental
PiperOrigin-RevId: 776656783
This commit is contained in:
committed by
Copybara-Service
parent
3f621ae6f2
commit
f0183a9b98
@@ -48,7 +48,7 @@ from google.adk.runners import Runner
|
||||
from pydantic import BaseModel
|
||||
from typing_extensions import override
|
||||
|
||||
from ...utils.feature_decorator import working_in_progress
|
||||
from ...utils.feature_decorator import experimental
|
||||
from ..converters.event_converter import convert_event_to_a2a_events
|
||||
from ..converters.request_converter import convert_a2a_request_to_adk_run_args
|
||||
from ..converters.utils import _get_adk_metadata_key
|
||||
@@ -57,14 +57,14 @@ from .task_result_aggregator import TaskResultAggregator
|
||||
logger = logging.getLogger('google_adk.' + __name__)
|
||||
|
||||
|
||||
@working_in_progress
|
||||
@experimental
|
||||
class A2aAgentExecutorConfig(BaseModel):
|
||||
"""Configuration for the A2aAgentExecutor."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
@working_in_progress
|
||||
@experimental
|
||||
class A2aAgentExecutor(AgentExecutor):
|
||||
"""An AgentExecutor that runs an ADK Agent against an A2A request and
|
||||
publishes updates to an event queue.
|
||||
|
||||
@@ -19,10 +19,10 @@ from a2a.types import Message
|
||||
from a2a.types import TaskState
|
||||
from a2a.types import TaskStatusUpdateEvent
|
||||
|
||||
from ...utils.feature_decorator import working_in_progress
|
||||
from ...utils.feature_decorator import experimental
|
||||
|
||||
|
||||
@working_in_progress
|
||||
@experimental
|
||||
class TaskResultAggregator:
|
||||
"""Aggregates the task status updates and provides the final task state."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user