def _mark_as_thought(self, response_part: types.Part):
    """Marks the response part as thought.

    Args:
      response_part: The mutable response part to mark as thought.
    """
    if response_part.text:
      response_part.thought = True
    return
Marks the response part as thought.

    Args:
      response_part: The mutable response part to mark as thought.
    
src/google/adk/planners/plan_re_act_planner.py