iachat/enterprise/lib
Rodrigo Borba 039b9e116d fix(captain): add send_suite_images rules to scenario.liquid template
The [Galeria de Fotos] rules previously added to assistant_response_generator
only apply to the legacy V1 chat service. In V2 (captain_integration_v2),
scenario agents use scenario.liquid as their system prompt template, not
assistant_response_generator.

This adds conditional rules to scenario.liquid (matching the existing pattern
for faq_lookup and check_pix_payment) that activate for any scenario that
has the send_suite_images tool:
- Infer suite_category vs suite_number from context, no confirmation needed
- Never announce photo sending before the tool confirms images were found

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 10:14:12 -03:00
..
captain fix(captain): add send_suite_images rules to scenario.liquid template 2026-02-27 10:14:12 -03:00
enterprise/captain feat: search documentation tool for reply suggestions (#13340) 2026-01-30 16:18:33 +05:30
tasks fix: Search rake task causing Rails boot error (#12416) 2025-09-15 22:21:59 +05:30
enterprise.rb chore: Introduce enterprise edition license (#3209) 2021-12-09 12:07:48 +05:30