handoff fixes

This commit is contained in:
debu-2 2026-10-06 02:44:54 +05:30
parent 6c52cd19cb
commit 89ddebdb60
15 changed files with 991 additions and 271 deletions

View file

@ -1,4 +1,4 @@
from app.services.handoff_email_templates import external_reply_subject, handoff_email_subject
from app.services.handoff_email_templates import external_reply_subject
from app.services.reply_extractor import extract_new_reply_content, validate_external_reply_body
SCREENSHOT_REPLY = """ahan, did you receive a response?
@ -49,10 +49,6 @@ def test_external_reply_subject_uses_customer_subject():
assert external_reply_subject("Human Handoff · are you ready?") == "Re: are you ready?"
def test_handoff_subject_format():
assert handoff_email_subject("are you ready?") == "Human Handoff · are you ready?"
def test_outlook_original_message_split():
body = """Thanks for the update.