#358 — [Bug]: Can’t open some old LLM chats

Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: raymondehizoba

Created: 2025-05-19 · Updated: 2025-06-30

Description

Steps to reproduce

To reproduce:

  1. In staging login under any tenant with existing LLM chats (able to reproduce on 2 different tenants)
  2. Navigate to LLM Chat (Query) screen with content like below
two cases, don't know what is common in them

1st case:

[
  {
    "id": 134,
    "created_at": "2025-04-15T17:09:34.588105Z",
    "type": "ChatResponseText",
    "value": "Here are the transactions recorded for April 15, 2025:\n\n| Transaction Type | Transaction Date | Total Amount | Currency Code | Memo |\n|------------------|------------------|--------------|---------------|------|\n| Expense          | 2025-04-15       | N/A          | USD           | Tag Grandgeorge | Sam's Club | Rosemary Food Service |\n| Expense          | 2025-04-15       | N/A          | USD           | Christo Yaranoff | Cash & Carry | Rosemary Food Service |\n| Expense          | 2025-04-15       | N/A          | USD           | Doug Richter | Schnucks | Rosemary Food Service |\n\nThese transactions are all categorized as expenses, and they do not have a total amount specified in the data. The memos indicate that these expenses are related to food service purchases from various suppliers.",
    "is_liked": null,
    "widgets": []
  },
  {
    "id": 133,
    "created_at": "2025-04-15T17:09:31.822850Z",
    "type": "ChatResponseWidget",
    "value": "{\"type\":\"table\",\"name\":\"Transactions on April 15, 2025\",\"code\":\"{\\\"column_mapping\\\": {\\\"transaction

## Notes

_Add implementation notes, blockers, and context here_

## Related

_Add wikilinks to related people, meetings, or other tickets_