I am using Langgraph and sometimes I would get this
content:
“”
additional_kwargs:{}
response_metadata:{
safety_ratings:
usage_metadata:{}
finish_reason:
“MALFORMED_FUNCTION_CALL”
finish_message:
"Malformed function call: print(default_api.get_product_price(barcode = “8852422119615”))print(default_api.get_product_price(barcode = “8852422122103”)) "
}
type:
“ai”
name:
NULL
id:
“run-7d0d8af7-1ed9-40fa-9f43-fd5762b9ba72”
example:
false
tool_calls:
invalid_tool_calls:
usage_metadata:{
…
}