iachat/spec/enterprise/controllers/api/v1/accounts
Tanmay Deep Sharma 811eb66615
feat: Add support for image files in Captain (#11730)
# Pull Request Template

## Linear links:
-
https://linear.app/chatwoot/issue/CW-4479/if-image-is-sent-by-the-customer-send-it-to-openai

## Description

This pull request adds “Captain image support” to Chatwoot. It
introduces multimodal message handling so that when a customer sends an
image, Captain can forward the file to OpenAI’s vision endpoint,
generate a caption/analysis
## Type of change

Please delete options that are not relevant.

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

<img width="891" alt="image"
src="https://github.com/user-attachments/assets/c7cc98ed-cc44-4865-a53a-83d129e2fe2c"
/>



## 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: Pranav <pranav@chatwoot.com>
2025-06-25 19:16:09 -07:00
..
captain feat: Add support for image files in Captain (#11730) 2025-06-25 19:16:09 -07:00
agents_controller_spec.rb feat: API changes to support multi step user signup (#8933) 2024-02-20 16:48:51 +05:30
applied_slas_controller_spec.rb feat: SLA report filter (#9218) 2024-04-12 11:03:18 +05:30
audit_logs_controller_spec.rb feat: add auditlogs for account model (#7511) 2023-07-19 23:52:34 +05:30
conversations_controller_spec.rb feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
custom_roles_controller_spec.rb chore: Fix flaky permissions test (#10074) 2024-09-04 16:13:29 -07:00
sla_policies_controller_spec.rb feat: sla 1 - refactor sla_policies model and add applied_sla model (#8602) 2024-01-23 23:48:02 +05:30