fix: United claim — add procedure date, fix file attachments, persist chatbot files, enforce M/D/YYYY date parsing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ff
2026-06-20 00:42:43 -04:00
parent 60689e58f6
commit 20b478a7a9
3 changed files with 19 additions and 11 deletions

View File

@@ -158,6 +158,9 @@ Rules:
always set it to today's date (${today}) when the user says "today", "this visit", or similar
set it to the specified date when the user mentions a date (e.g. "05/15/2026")
omit it only when no date is mentioned at all (the backend will find the last appointment)
- IMPORTANT: Users type dates in American M/D/YYYY format (month first, then day).
e.g. "6/12/2026" means June 12 2026 (NOT December 6). "1/5/2026" means January 5 2026.
If the year has a typo (e.g. "12026" instead of "2026"), correct it to the intended 4-digit year.
- For schedule_appointment, appointmentTime omitted means no preference
- IMPORTANT: Use the conversation history to resolve pronouns and references.
If the user says "her", "him", "them", "the patient", or "same patient", look back through