Remove STFU system from feedback filtering

- Remove STFU check from app.py feedback filtering logic
- Update tests to remove STFU-specific test cases
- Simplify empty content filtering to just check for actual content
This commit is contained in:
Russell Ballestrini 2025-08-11 17:20:59 -04:00
parent e3d33b90fd
commit 8a6170d57b
2 changed files with 8 additions and 63 deletions

4
app.py
View file

@ -2754,8 +2754,8 @@ def provide_feedback_prompts(
json_new_metadata,
)
# Only add feedback if it has content and isn't exactly the STFU token
if ai_feedback and ai_feedback.strip() and ai_feedback.strip() != "STFU":
# Only add feedback if it has content
if ai_feedback and ai_feedback.strip():
feedback_messages.append(
{"name": prompt_name, "content": ai_feedback.strip()}
)