See https://github.com/google/adk-python/commit/af635674b5d3c128cf21737056e091646283aeb7 and https://github.com/google/adk-python/issues/701.