#238 — [Bug]: LLM engine makes Facade restart.

Repo: Twill-AI/twill-llm-engine State: closed | Status: done Assignee: meliascosta

Created: 2025-01-20 · Updated: 2025-01-21

Description

Caused by https://twill-network.slack.com/archives/C07TPN6FCBX/p1737360930342139 and https://twill-network.slack.com/archives/C07TPN6FCBX/p1737372402632479

Steps to reproduce

To reproduce:

  1. In staging any environment login under any user and make “show my expenses on ads” prompt (probably any which should return a plot, because for “only text” answers it works without issues)

Expected: I expected LlmEngine and Facade to not fail.

Screenshots

In UI I see Connection Closed: 1012 which is a “Service Restart” code https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code

Image

in logs of Facade I see

2025-01-20 08:10:09.615|INFO|AlksndrTwl|_client:1729|HTTP Request: POS

## Notes

_Add implementation notes, blockers, and context here_

## Related

_Add wikilinks to related people, meetings, or other tickets_