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/views/dashboard.py#L121-L132
The output of
get_summarized_ticket_content()
needs to includepreview_summarized_ticket_content
to ensure it is triggered byrow_chat_history
. Additionally, we need to renameprev_summarized_ticket_subject
andprev_summarized_ticket_content
topreview_summarized_ticket_subject
andpreview_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