@Yves
It sounds like there may be an issue with how the voice agent is retrieving or caching the opening hours, especially for special dates like holidays. Here are a few steps you can take to troubleshoot and resolve the issue:
1. **Check the Data Source**: Ensure that the data source for the opening hours is up-to-date and includes the holiday hours. If the data source is incorrect, the voice agent will provide wrong information.
2. **Review the Code**: Look at the part of the code that handles the retrieval of opening hours. There might be a condition or a caching mechanism that isn't accounting for special dates on the first query.
3. **Test Thoroughly**: Conduct thorough testing for various scenarios, including holidays, regular days, and edge cases. This will help you identify any patterns or specific conditions that lead to incorrect responses.
4. **Update the Voice Agent**: If you find a bug or an issue with the logic, update the voice agent's code to handle special dates correctly from the first query.
5. **Provide Clear Instructions**: Make sure to provide clear instructions to the voice agent for handling exceptions like holidays. This might involve adding additional logic or rules to prioritize holiday hours when relevant.
6. **Implement Fallbacks**: If the issue persists, consider implementing a fallback mechanism where the voice agent can ask for clarification or confirm the date with the user to ensure accurate information is provided.
If you need further assistance with the technical aspects or if you're unsure how to proceed, please don't hesitate to reach out for more support.