There is a discrepancy between code displayed and code discussed by the narrator. Which one is correct. See the image enclosed in the section if not response.message.tool_calls
.
I have moved your thread to the forum area for that course.
This will help the Short Course mentor to find your question.
Thank you kindly