You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That zero value originates from SQLAlchemy layer implementation. Perhaps there should be casting to boolean there.
In my humble opinion, the above UI logic is not optimal either, as evidenced by this issue. There's nothing wrong with preferring readability and simplicity over cleverness and reliance on what could be here considered a side effect.
To Reproduce
Implement chat history with SQLAlchemy & SQLite.
The text was updated successfully, but these errors were encountered:
Describe the bug
With chat history using SQLAlchemy data layer with SQLite, the UI becomes like this (see the zeros):
This is because Message.tsx renders following into zero when isAsk is zero and isRunning is falsy:
That zero value originates from SQLAlchemy layer implementation. Perhaps there should be casting to boolean there.
In my humble opinion, the above UI logic is not optimal either, as evidenced by this issue. There's nothing wrong with preferring readability and simplicity over cleverness and reliance on what could be here considered a side effect.
To Reproduce
Implement chat history with SQLAlchemy & SQLite.
The text was updated successfully, but these errors were encountered: