iachat/enterprise/app/services/captain
Tanmay Deep Sharma 5c5abc24e3
fix: Use account locale when generating PDF FAQs (#12491)
## Linear Link:

https://linear.app/chatwoot/issue/CW-5636/pdf-faqs-captain-generates-faqs-in-the-english-only

## Description
PDF Faqs should be generated in the same language as set in account  


## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

This has been tested via UI, by setting account language to arabic and
upload the pdf for faq generation (pdf content in Hindi)
<img width="1045" height="1085" alt="image"
src="https://github.com/user-attachments/assets/10385181-578e-4933-afc4-4609a6abcec8"
/>


## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-09-23 16:47:15 +05:30
..
assistant feat: scenario agents & runner (#11944) 2025-08-14 12:39:21 +05:30
copilot feat: Add feature_citation toggle for Captain assistants (#12052) 2025-08-11 13:06:20 +05:30
llm fix: Use account locale when generating PDF FAQs (#12491) 2025-09-23 16:47:15 +05:30
tools feat: captain should be able to access private notes (#11768) 2025-06-24 19:00:20 -07:00
open_ai_message_builder_service.rb feat: Whatsapp embedded signup (#11612) 2025-07-14 21:37:06 -07:00
tool_registry_service.rb feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00