iachat/enterprise/app/services/captain/llm
Sojan Jose cc86b8c7f1
fix: stream attachment handling in workers (#12870)
We’ve been watching Sidekiq workers climb from ~600 MB at boot to
1.4–1.5 GB after an hour whenever attachment-heavy jobs run. This PR is
an experiment to curb that growth by streaming attachments instead of
loading the whole blob into Ruby: reply-mailer inline attachments,
Telegram uploads, and audio transcriptions now read/write in chunks. If
this keeps RSS stable in production we’ll keep it; otherwise we’ll roll
it back and keep digging
2025-12-05 13:02:53 -08:00
..
assistant_chat_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
contact_attributes_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
contact_notes_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
conversation_faq_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
embedding_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
faq_generator_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
paginated_faq_generator_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
pdf_processing_service.rb fix: stream attachment handling in workers (#12870) 2025-12-05 13:02:53 -08:00
system_prompts_service.rb fix: Use account locale when generating PDF FAQs (#12491) 2025-09-23 16:47:15 +05:30