By accident I discovered that if you leave the tool_call_id
field empty for both the assistant’s tool call messages and the tool call response the API produces no error. In cases where there is a single tool call and response in a pair of messages a tool_call_id isn’t needed to distinguish tool calls. But I was wondering if there were any issues with omitting tool_call_id
that I might not have picked up on?
2 Likes
Found any advantages/disadvantages ommitting the tool_call_id ?
I’m considering the same approach as it’s a bit restrictive to conversation flow for my usecase.