From 3df402505caaa6f64ff5e50d5e2466562bd9998d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 10 Nov 2025 17:02:06 +0000 Subject: [PATCH] Fix progressive hints to display on first failed attempt Removed "activity_state.attempts > 0" check that prevented hints from showing on the first attempt. The code already correctly computes current_attempt as activity_state.attempts + 1, so hints now work starting from attempt 1 (when attempts = 0). --- activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activity.py b/activity.py index 583c58c..ce24aff 100644 --- a/activity.py +++ b/activity.py @@ -960,7 +960,7 @@ def handle_activity_response(room_name, user_response, username, model="MODEL_0" # End of multi-bucket processing loop # Check for progressive hints (v2.0) - if "hints" in step and activity_state.attempts > 0: + if "hints" in step: context = create_template_context( metadata=activity_state.dict_metadata, current_attempt=activity_state.attempts + 1, # Next attempt