I am calling the endpoint: https://api.openai.com/v1/chat/completions/{id}/messages to access the input to my chat completions for fine tuning (api docs)
I’m running into an issue where, in some cases, the messages returned by the API don’t include the tool/function call details.
Here’s what I’m seeing in the messages
array:
{
"id": "id123",
"role": "tool",
"content": "None",
"content_parts": null,
"name": null
}
As you can see, everything—content
, content_parts
, name
—is null
. The role is just "tool"
, but no actual function call data is included.
Any help on this would be appreciated to get my training in order!