diff --git a/backend/chainlit/data/sql_alchemy.py b/backend/chainlit/data/sql_alchemy.py index bb43ef7c16..4f517129c9 100644 --- a/backend/chainlit/data/sql_alchemy.py +++ b/backend/chainlit/data/sql_alchemy.py @@ -286,7 +286,7 @@ async def list_threads( ) search_keyword = filters.search.lower() if filters.search else None - feedback_value = int(filters.feedback) if filters.feedback else None + feedback_value = int(filters.feedback) if filters.feedback is not None else None filtered_threads = [] for thread in all_user_threads: