Skip to content

Commit 9ad9634

Browse files
author
dori
committed
feat: fix error
1 parent 9c2f5bb commit 9ad9634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp_as_a_judge/db/providers/sqlite_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _cleanup_old_messages(self, session_id: str) -> int:
112112
.where(ConversationRecord.session_id == session_id)
113113
.order_by(desc(ConversationRecord.timestamp))
114114
)
115-
current_records = session.exec(count_stmt).all()
115+
current_records = list(session.exec(count_stmt).all())
116116
current_count = len(current_records)
117117

118118
logger.info(

0 commit comments

Comments
 (0)