Hi all,
I’m using the new realtime api with tools calling.
I’m listening to the response.function_call_arguments.done
event to get the arguments. This mostly works fine, but from time to time, i’m getting an invalid (unfinished) JSON.
See the following console.log
[Info] response.function_call_arguments.done {
type: "response.function_call_arguments.done",
event_id: "event_Aj8kSnI5ShaT2HwE2ah2E",
response_id: "resp_Aj8kRsmCp8HJUkgBmUSEw",
item_id: "item_Aj8kRAOfMbHHSTWynQAwn",
output_index: 0,
call_id: "call_yDd64ZoouGLUwXdp",
name: "call_status",
arguments: '{"status":"attended","reason":"a'
}
This is the model I use: gpt-4o-realtime-preview-2024-12-17
I have enough credits. So I think it’s not related to tokens.
thanks for you help