I’ve been using function calling in the OpenAI Playground, and it has been working fine until today. However, I just noticed that when I try to trigger a function call, the request does not include any parameters in the "arguments"
field.
Here’s an example of the response I’m getting:
{
“role”: “assistant”,
“content”: ,
“tool_calls”: [
{
“id”: “call_JYt3Hgl96nURZuOiSjNFFAmw”,
“type”: “function”,
“function”: {
“name”: “check_availability”,
“arguments”: “”
}
}
]
}
Normally, this function call should include parameters like queries
, branches
, and required_slots
, but now it returns an empty "arguments"
string.
Steps to Reproduce:
- Use the OpenAI Playground with function calling enabled.
- Define a function schema (e.g.,
check_availability
with required parameters). - Input a prompt that should trigger the function call.
- The assistant calls the function, but
"arguments"
is empty.
Additional Information:
- This issue only occurs in OpenAI Playground.
- The same API works correctly when called via direct API requests.
- I’ve tried different models, but the issue persists.
Is this a known issue, or is there a workaround to fix it? Any help would be greatly appreciated.
Thank you!