diff --git a/openhands/app_server/app_conversation/sql_app_conversation_info_service.py b/openhands/app_server/app_conversation/sql_app_conversation_info_service.py index c062fc3f8b..30fb2b753b 100644 --- a/openhands/app_server/app_conversation/sql_app_conversation_info_service.py +++ b/openhands/app_server/app_conversation/sql_app_conversation_info_service.py @@ -278,7 +278,7 @@ class SQLAppConversationInfoService(AppConversationInfoService): ) result = await self.db_session.execute(query) existing = result.scalar_one_or_none() - assert existing is None or existing.created_by_user_id == user_id + assert existing is None or existing.user_id == user_id metrics = info.metrics or MetricsSnapshot() usage = metrics.accumulated_token_usage or TokenUsage()