From c63837ad122ddcc33a5f1f65979440e86e85777f Mon Sep 17 00:00:00 2001 From: Gabor Meresz Date: Fri, 20 Dec 2024 12:15:25 +0100 Subject: [PATCH] improve readability --- week2/day4.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ]