diff --git a/week2/day5.ipynb b/week2/day5.ipynb index 353b039..1fed9bf 100644 --- a/week2/day5.ipynb +++ b/week2/day5.ipynb @@ -209,7 +209,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" ]