Minor improvements

This commit is contained in:
Edward Donner
2024-12-22 10:33:09 +00:00
parent f10a9793ad
commit effeac88f3

View File

@@ -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"
]