#382 — [Bug]: Can’t load a specific chat.

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

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

Description

Steps to reproduce

To reproduce:

  1. In staging login under username martin+payments@twillpayments.com pass bAtata33##
  2. Go to chat with id 6 > https://fluffy-winner-lm32gle.pages.github.io/library/threads/?id=6

What was the expected behavior?

I expected it to load the conversation.

LLM trace id: 1015a26a-6925-4019-8397-8b73a1a31b3c finished without errors

Facade returns the correct chat items without errors:

[
    {
        "id": 38,
        "created_at": "2025-05-30T13:15:23.153439Z",
        "type": "ChatResponseSummary",
        "value": "There have been no sales recorded for today so far. If you expected sales, check for pending transactions or processing issues.",
        "is_liked": null,
        "widgets": []
    },
    {
        "id": 37,
        "created_at": "2025-05-30T13:15:22.324692Z",
        "type": "ChatResponseText",
        "value": "There have been no recorded sales for today so far. If you were expecting sales, you may want to check if all transactions have been processed or if there are any pending issues.\n\nLet me know if you want to see sales for a different period or need a breakdown by product, customer, or payment method.",
        "is_liked": null,
        "widgets": []
    },
    {
        "id": 36,
        "created_at": "2025-05-30T13:15:20.593875Z",
        "type": "ChatResponseWidget",
        "value": "{\"type\":\"kpi\",\"name\":\"Total Sales Today\",\"code\":\"{\\\"kpi_column\\\": \\\"kpi_value\\\", \\\"unit\\\":
 
## Notes
 
_Add implementation notes, blockers, and context here_
 
## Related
 
_Add wikilinks to related people, meetings, or other tickets_