Duplicate call_ids submitted on n8n

Hi everyone,

I’m currently using n8n to automate interactions with the OpenAI API. However, I keep encountering an error when attempting to call an AI Agent:

Error: Duplicate call_ids submitted

Additional Context:

I am asking my AI Agent for the hours of operation and a list of professionals at a medical clinic.

Here’s the JSON I’m using in my workflow:
[

{

“saida”: [

{

“tool_call_id”: “call_Moccc5fllhtZPNbLseQgyLDs”,

“output”: “2024-08-08T09:39:50.615-03:00”

},

{

“tool_call_id”: “call_Moccc5fllhtZPNbLseQgyLDs”,

“output”: “[{“profissao”:“Nutricionista”,“id_empresa”:2,“profissional_id”:4,“nome”:“Thadeu”},{“profissao”:“Dermatologista”,“id_empresa”:2,“profissional_id”:1,“nome”:“Paula”},{“profissao”:“Médico”,“id_empresa”:2,“profissional_id”:2,“nome”:“Julia Silva”},{“profissao”:“Esteticista”,“id_empresa”:2,“profissional_id”:5,“nome”:“Leonardo”},{“profissao”:“Médico”,“id_empresa”:2,“profissional_id”:3,“nome”:“Dr. Eco Duarte”}]”

}

]