diff --git a/week2/day4.ipynb b/week2/day4.ipynb index 811d116..0151e7d 100644 --- a/week2/day4.ipynb +++ b/week2/day4.ipynb @@ -214,7 +214,7 @@ " response = {\n", " \"role\": \"tool\",\n", " \"content\": json.dumps({\"destination_city\": city,\"price\": price}),\n", - " \"tool_call_id\": message.tool_calls[0].id\n", + " \"tool_call_id\": tool_call.id\n", " }\n", " return response, city" ]