Skip to content

Commit e5dd7d8

Browse files
committed
docs: Clarify ReadOnlyContext.state property as MappingProxyType with ChainMap details, refine request_state initialization, and remove an unused header regex
1 parent 00b0450 commit e5dd7d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/runners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ def _new_invocation_context(
14681468
live_request_queue=live_request_queue,
14691469
run_config=run_config,
14701470
resumability_config=self.resumability_config,
1471-
request_state=request_state or {},
1471+
request_state=request_state if request_state is not None else {},
14721472
)
14731473

14741474
def _new_invocation_context_for_live(

0 commit comments

Comments
 (0)