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:
parent
e3d33b90fd
commit
8a6170d57b
2 changed files with 8 additions and 63 deletions
4
app.py
4
app.py
|
|
@ -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()}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue