mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
44aa1f3076
The delete_session method does not return the session service instance, but None instead. Assigning its result back to temp_service leads to unexpected behavior where temp_service becomes None. This change removes the incorrect assignment and calls delete_session without reassigning, ensuring temp_service remains a valid service instance. This aligns with the intended usage of delete_session as a side-effect-only method. Co-authored-by: Kristopher Overholt <koverholt@google.com>