Files
libredesk/internal
Abhinav Raut b3c162381a fix AI agent OTP verification flow
The verification tools and OTP prompt block loaded for every unverified
customer, so an assistant with no account-acting tools still asked people
for an email code it had no use for. The worker now checks the assistant's
tools first and skips both unless one is flagged requires_verification. A
lookup error fails open and keeps the flow.

The send tool's result did not say which address it mailed, so the model
filled one in from chat history. After a sibling conversation rebound the
contact's email, it named the old address while the mail went to the new
one. The result now names the address and mentions the spam folder.

The prompt did not say to check every code the customer sends, so after one
rejection the model declared the next code wrong without calling the tool
and handed off to a human.
2026-08-08 12:40:04 +05:30
..
2026-07-31 01:05:32 +05:30
2025-02-22 23:33:18 +05:30
2025-12-24 16:08:25 +05:30
2026-04-13 13:56:15 +05:30
2026-04-17 02:41:40 +05:30
2026-02-22 15:12:00 +05:30
2026-02-22 15:12:00 +05:30