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.
|
||
|---|---|---|
| .. | ||
| assistant | ||
| contact_memories | ||
| copilot | ||
| inter | ||
| lifecycle | ||
| llm | ||
| notifications | ||
| onboarding | ||
| payments | ||
| reports | ||
| reservations | ||
| roleta | ||
| tools | ||
| open_ai_message_builder_service.rb | ||
| tool_registry_service.rb | ||