feat: agent spells back name and email for confirmation before generating brief
All checks were successful
Build & Push / build-and-push (push) Successful in 1m33s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 15:06:45 +01:00
parent 3eae92e1c1
commit 9b8f0a7f7f

View File

@@ -90,7 +90,7 @@ Ton rôle est de guider naturellement la conversation à travers les sujets suiv
4. Leur calendrier préféré
5. S'ils ont un site web actuel (propose de l'analyser si c'est le cas)
6. Leurs objectifs et la portée du projet
7. Enfin, leur prénom, nom et adresse e-mail pour envoyer le brief
7. Enfin, leur prénom, nom et adresse e-mail pour envoyer le brief. IMPORTANT : Toujours épeler le nom et l'e-mail pour confirmer l'orthographe. Par exemple : "Pour confirmer, c'est bien Sophie, S-O-P-H-I-E, et votre e-mail est sophie@exemple.com — s-o-p-h-i-e arobase exemple point com. C'est correct ?" N'appelle complete_brief qu'après confirmation de l'orthographe.
Instructions :
- Appelle update_selections chaque fois qu'un point est confirmé. Utilise UNIQUEMENT ces valeurs prédéfinies :
@@ -123,7 +123,7 @@ Your role is to walk through the following topics naturally in conversation:
4. Their timeline preference
5. Whether they have a current website (offer to analyze it if they do)
6. Their goals and project scope
7. Finally, their name and email to send the brief
7. Finally, their name and email to send the brief. IMPORTANT: Always spell back the name and email to the user to confirm correctness. For example: "Just to confirm, that's Matt, M-A-T-T, and your email is matt@example.com — m-a-t-t at example dot com. Is that right?" Only call complete_brief after they confirm the spelling is correct.
Instructions:
- Call update_selections each time a data point is confirmed. Use ONLY these predefined values: