Skip to content

Commit f32c0d8

Browse files
committed
Remove extra unneeded check
1 parent 63efd73 commit f32c0d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/a2a/server/agent_execution/simple_request_context_builder.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ def __init__(
2323
task_store: The TaskStore instance to use for fetching referred tasks.
2424
Required if `should_populate_referred_tasks` is True.
2525
"""
26-
if should_populate_referred_tasks and not task_store:
27-
raise ValueError(
28-
'task_store is required when should_populate_referred_tasks is True'
29-
)
3026
self._task_store = task_store
3127
self._should_populate_referred_tasks = should_populate_referred_tasks
3228

0 commit comments

Comments
 (0)