jolly-motorcycle-47196
10/09/2025, 6:44 PMgenerate_reply within a tool call fails. From my worker, I only see a connection error, but in my Groq dashboard, I can see that the error is:
{
"request_id": "req_redacted",
"created_at": "2025-10-07T22:57:25.311Z",
"error": {
"message": "Tool choice is none, but model called a tool",
"type": "invalid_request_error",
"param": "",
"code": "tool_use_failed"
}
}
Is this a known issue with the Groq Plugin? I've looked at the actual request being sent, and it seems identical to what is sent with the openai plugin, but the openAI API seems to handle it. Both send tool_choice=None as well as the tool definitions, but only the groq requests fail. Grow is using gpt-oss-120b, and the openAI is using gpt-4.1tall-airline-16756
10/09/2025, 6:44 PMtall-airline-16756
10/09/2025, 6:45 PMjolly-motorcycle-47196
10/09/2025, 6:50 PM{
"messages": [redacted],
"model": "openai/gpt-oss-20b",
"reasoning_effort": "low",
"stream": true,
"stream_options": {
"include_usage": true
},
"temperature": 0.7,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "end_call",
"strict": true,
"description": "End the current phone call when the user is ready to hang up.\n\nWhen to use:\n- User says
goodbye, bye, bye-bye, talk to you later, or similar farewell\n- User says \"hang up\", \"end the call\",
\"disconnect\", \"you can hang up\"\n- User indicates they're done, have everything they need, or are finished\n-
User says \"that's all\", \"I'm good\", \"all set\", or similar completion phrases",
"parameters": {
"properties": {},
"type": "object",
"additionalProperties": false,
"required": []
}
}
},
]
}
It works when sent to OpenAI using gpt-4.1 or gpt-4.0, but fails on gpt-oss-20b and gpt-oss-120b on Groqtall-airline-16756
10/09/2025, 6:51 PM