mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-09 11:40:53 +08:00
fix retry_scoring_failed_message_trees()
This commit is contained in:
@@ -1410,7 +1410,7 @@ DELETE FROM user_stats WHERE user_id = :user_id;
|
||||
try:
|
||||
if not self.check_condition_for_scoring_state(mts.message_tree_id):
|
||||
mts.active = True
|
||||
self._enter_state(message_tree_state.State.RANKING)
|
||||
self._enter_state(mts, message_tree_state.State.RANKING)
|
||||
except Exception:
|
||||
logger.exception(f"retry_scoring_failed_message_trees failed for ({mts.message_tree_id=})")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user