TODAM-tw / todam-ticket-system

The frontend with gradio and combined with the API endpoints for the ticket system.
Apache License 2.0
0 stars 0 forks source link

[Enhancement] Refactor the Method to Filter `start recording`, `end recording` #32

Closed 1chooo closed 1 month ago

1chooo commented 1 month ago

The current method of filtering out start recording and end recording messages is unclear in terms of the reasoning behind popping the first and last messages. Therefore, we need to refactor this part to make its purpose more understandable.

https://github.com/TODAM-tw/todam-ticket-system/blob/ff9746586859e29ceb732ed35880ce06d0035332/app/cases/chat_history.py#L40-L48

Related: #30, #31