From effeac88f3c47bb9e34b662723fc9e89ea2f8476 Mon Sep 17 00:00:00 2001 From: Edward Donner Date: Sun, 22 Dec 2024 10:33:09 +0000 Subject: [PATCH] Minor improvements --- week2/day5.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ]