mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-04 13:56:24 -06:00
fix: ParallelAgent should only append to its immediate sub-agent, not transitive descendants
Restores automatic conversation history sharing for sequential/loop sub-agents. PiperOrigin-RevId: 766742380
This commit is contained in:
committed by
Copybara-Service
parent
57d99aa789
commit
ec8bc7387c
@@ -159,7 +159,7 @@ async def test_run_async_with_branch(request: pytest.FixtureRequest):
|
||||
assert len(events) == 1
|
||||
assert events[0].author == agent.name
|
||||
assert events[0].content.parts[0].text == 'Hello, world!'
|
||||
assert events[0].branch.endswith(agent.name)
|
||||
assert events[0].branch == 'parent_branch'
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@@ -625,7 +625,7 @@ async def test_run_live_with_branch(request: pytest.FixtureRequest):
|
||||
assert len(events) == 1
|
||||
assert events[0].author == agent.name
|
||||
assert events[0].content.parts[0].text == 'Hello, live!'
|
||||
assert events[0].branch.endswith(agent.name)
|
||||
assert events[0].branch == 'parent_branch'
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user