{
"name": "_getCurrentTime",
"description": "Get the current time",
"strict": false,
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
I created a chatbot assistant and implemented a simple function.
(_getCurrentTime() returns the current time format ‘HH:mm’.)
The first time I asked, “What time is it now?”, the assistant returned a requires_action
status, and I got current time “11:30.”
But the second time I asked the same question, the assistant did not return a requires_action
status and I got “11:30.” again.
After that, no matter how many times I try, it doesn’t call the function and just returns ‘11:30’.
How can I make the assistant call the function every time?