When calling the get weather example (and any other function), I would get a response with empty arguments, which would cause an error. To repeat the problem, try to call the function with the handleUpdate argument. It fill be fail. In order to fix the problem, we had to rewrite the build function tool_calls, replacing the deprecated function_call. Anyway, I attach the code - everything works now.
When calling the get weather example (and any other function), I would get a response with empty arguments, which would cause an error. To repeat the problem, try to call the function with the handleUpdate argument. It fill be fail. In order to fix the problem, we had to rewrite the build function tool_calls, replacing the deprecated function_call. Anyway, I attach the code - everything works now.