iachat/enterprise/app/services/captain/tools
Rodribm10 6c9d12559d fix(captain): generate_pix returns success=false on real errors
When Inter integration fails ("Unit not configured for Pix", missing
certs, etc.), the tool was returning success=true with the error
message as formatted_message. The LLM interpreted that as success and
hallucinated "Pix generated" to the customer — and never triggered the
generate_reservation_link fallback.

Switch the rescue path from tool_feedback_response (success=true) to
error_response (success=false) so the Daniela scenario correctly falls
back to the reservation-link tool as documented in her prompt.
2026-04-21 18:59:45 -03:00
..
copilot fix: Validate status and priority params in search conversations tool (#13295) 2026-01-19 14:08:32 +05:30
base_service.rb feat: Add support for additional tools in Copilot (#11531) 2025-05-21 15:49:35 -07:00
base_tool.rb feat: search documentation tool for reply suggestions (#13340) 2026-01-30 16:18:33 +05:30
check_pix_payment_tool.rb chore(style): fix rubocop offenses and update typing indicators 2026-02-25 15:06:58 -03:00
create_reservation_intent_tool.rb feat: sistema de notificações de reserva com templates configuráveis 2026-03-01 21:53:11 -03:00
firecrawl_service.rb feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
generate_pix_tool.rb fix(captain): generate_pix returns success=false on real errors 2026-04-21 18:59:45 -03:00
generate_reservation_link_tool.rb feat: link enviado como mensagem direta + email extraction + contact metadata auto-persist 2026-04-14 13:44:13 -03:00
generate_roleta_link_tool.rb feat(captain): semantic memory fixes + roleta + reclamações + analytics 2026-04-21 15:36:25 -03:00
get_reserva_preco_tool.rb feat(captain): semantic memory fixes + roleta + reclamações + analytics 2026-04-21 15:36:25 -03:00
instrumentation.rb feat: search documentation tool for reply suggestions (#13340) 2026-01-30 16:18:33 +05:30
search_documentation_service.rb fix: search faqs in account language (#13428) 2026-02-09 17:25:11 +05:30
search_reply_documentation_service.rb fix: search faqs in account language (#13428) 2026-02-09 17:25:11 +05:30
send_suite_images_tool.rb feat(captain): add AI reports page with insights generation 2026-02-27 07:05:58 -03:00
simple_page_crawl_service.rb feat(ee): Add a service to fetch website content and prepare a persona of Captain Assistant (#12732) 2025-10-25 15:50:50 -07:00