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

[Bug] Update Output and Rename Variables for Clarity in Ticket Content Preview #42

Closed 1chooo closed 1 month ago

1chooo commented 1 month ago

https://github.com/TODAM-tw/todam-ticket-system/blob/2ffdc33e421c02be32f02ccc9b1919fd398f67f6/app/views/dashboard.py#L121-L132

The output of get_summarized_ticket_content() needs to include preview_summarized_ticket_content to ensure it is triggered by row_chat_history. Additionally, we need to rename prev_summarized_ticket_subject and prev_summarized_ticket_content to preview_summarized_ticket_subject and preview_summarized_ticket_content to avoid future confusion with the term "previous" instead of "preview".

https://github.com/TODAM-tw/todam-ticket-system/blob/2ffdc33e421c02be32f02ccc9b1919fd398f67f6/app/cases/ticket_summarized.py#L70-L77