iachat/enterprise/lib/captain/prompts
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
..
snippets feat: scenario agents & runner (#11944) 2025-08-14 12:39:21 +05:30
assistant.liquid fix: bloqueio de vazamento de system prompt nas conversas publicas 2026-02-27 09:50:02 -03:00
scenario.liquid fix(captain): add send_suite_images rules to scenario.liquid template 2026-02-27 10:14:12 -03:00