https://retellai.com/?utm_source=discord&utm_medium=seo logo
When using check_calendar_availability function, I...
# ❓・bug-report
u
I have the working hours in Cal.com set between 7:30 to 9:45 AM and then from 2:30 to 7:00 pm. When I use the check_calendar_availability function, I get the results as 7:30 to 9:45 AM and 2:30 to 7:00 AM. All timezones are set to America/New_York. I have attached the screenshots of the tool invocation and the result in Retell and also the availability in Cal.com
(also it's not showing the availabily for Oct 5th since it's Saturday) But from the tool call for Oct 4th - Friday you can see that the availability range is only in AM
Did more testing. The LLM is responding correctly when there is a timeslot in AM and there is a timeslot in PM
But when I changed the availability to just the timeslots in PM, the LLM is respinding with the same time in AM.
@sanava.ai I ran it a few more times and I got these results.
s
This seems like a bug to me. "A" stands for "AM" or "PM" and it's not going through correctly.
Same with dddd which stands for day of the week
and YYYY which is the year
As a results, "A" is wrongly interpreted as "AM" by the llm
u
@eviewang_ @retellai @Weijia - Support@Retell Any ideas on this guys?
e
Let me check
@_sabari_ It's a bug! Thanks for the report, will fix it soon🫡
u
Appreciate prompt response!!
e
@_sabari_ pushed a fix
u
Awesome. Thanks it works perfectly!!