|
|
@ -214,7 +214,7 @@ |
|
|
|
" response = {\n", |
|
|
|
" response = {\n", |
|
|
|
" \"role\": \"tool\",\n", |
|
|
|
" \"role\": \"tool\",\n", |
|
|
|
" \"content\": json.dumps({\"destination_city\": city,\"price\": price}),\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", |
|
|
|
" }\n", |
|
|
|
" return response, city" |
|
|
|
" return response, city" |
|
|
|
] |
|
|
|
] |
|
|
|