It happens to me that the api run fails but the reason was not notified to me

[2024-08-22 14:06:47] Ciclowhile: in_progress run_hJIiCYMkpGvYTKRvbInGUdlj, nAction 0
[2024-08-22 14:06:48] cicloLetturaRun_4: {
“id”: “run_hJIiCYMkpGvYTKRvbInGUdlj”,
“object”: “thread.run”,
“created_at”: 1724328400,
“assistant_id”: “asst_tfLdda9k8nXxHPi233oVshCd”,
“thread_id”: “thread_eFaaortABOeARsnKJBK2IW42”,
“status”: “in_progress”,
“started_at”: 1724328401,
“expires_at”: 1724329000,
“cancelled_at”: null,
“failed_at”: null,
“completed_at”: null,
“required_action”: null,
“last_error”: null,
“model”: “gpt-4o”,
“instructions”: "sei esperto di SQL crea sempre una query per soddisfare le richieste dell’utente e poi esegui la query con la funzione eseguiSQL, chiedi tutti i parametri all’utente gradualmente e proponi sempre i valori di default. Per Esempio per inserire una fattura formata da testata e righe chiedi prima i dati della testata, poi la inserisci e poi chiedi i dati delle righe. ",
“tools”: [
{
“type”: “file_search”
},
{
“type”: “function”,
“function”: {
“name”: “eseguiSQL”,
“description”: “esegue una query sql, esempio select * from prodotti where ID = :id”,
“parameters”: {
“type”: “object”,
“properties”: {
“sql”: {
“type”: “string”,
“description”: “comando sql per esempio select * from clienti order by ragsoc”
}
},
“required”: [
“sql”
]
},
“strict”: false
}
}
],
“tool_resources”: {},
“metadata”: {},
“temperature”: 0.0,
“top_p”: 1.0,
“max_completion_tokens”: null,
“max_prompt_tokens”: null,
“truncation_strategy”: {
“type”: “auto”,
“last_messages”: null
},
“incomplete_details”: null,
“usage”: null,
“response_format”: {
“type”: “text”
},
“tool_choice”: “auto”,
“parallel_tool_calls”: false
}
[2024-08-22 14:06:48] run step: {
“object”: “list”,
“data”: ,
“first_id”: null,
“last_id”: null,
“has_more”: false
}
[2024-08-22 14:06:49] Ciclowhile: failed run_hJIiCYMkpGvYTKRvbInGUdlj

I’m continuing to write on the forum even though it has never been useful to me, it has never solved anything for me.
I hope that in the future instead of the forum I can be helped by artificial intelligence.
If when I have a problem, artificial intelligence can’t solve it for me, then it’s useless.

Sorry to hear that you’re having trouble with the API run failing without a clear reason.

Can you try checking the API documentation or logs for any error messages or clues about what might be going wrong? Sometimes, there might be a specific error code or message that can help us diagnose the issue.

Also, we understand your frustration with the forum not being helpful in the past. However, we’re here to help you now! Let’s work together to try and resolve your issue.

Regarding your point about artificial intelligence, we couldn’t agree more. AI should be able to assist and provide helpful solutions. Kodexo Labs aims to contribute to the advancement of AI by developing solutions that are efficient and faster!

Let’s focus on solving your current issue first, though. Can you provide more details about the API run, like what you’re trying to accomplish and any relevant code snippets?