feat(waitlist): add trouble message and improve error handling

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-03-08 02:31:35 +00:00
parent 85726fe886
commit 74c052393a
2 changed files with 27 additions and 4 deletions

View File

@@ -56,3 +56,10 @@ export function duplicateEmailMessage(): SystemMessage {
message: `I appreciate your excitement! You are already on the waitlist. When I am ready, I will reach out again. Have a good ${timeOfDay()} :)`,
}
}
export function troubleMessage(): SystemMessage {
return {
role: "system",
message: `I apologize, but I am having trouble adding you to the waitlist. Could you refresh the page and try again please in a moment?`,
}
}