Open
Description
Bug report
Title
User is able to add leads using PDF via Magic AI even when the Magic AI option is disabled
Issue Description
Even after disabling the Magic AI feature in the system settings, users are still able to upload a PDF file during lead creation, and the system continues to extract and populate lead data from the PDF. This behavior violates the expected functionality—Magic AI should not process or extract any data when it is turned off.
Preconditions
- Krayin CRM Version:
- Laravel Version:
- Commit ID:
- Magic AI: Disabled in Settings
Steps to Reproduce
- Navigate to Settings > Magic AI and disable the feature.
- Go to Leads > Create Lead.
- Upload a PDF file with contact/lead information.
- Observe that the data is still extracted and filled in the form.
Expected Result
When Magic AI is disabled:
- The PDF upload should be ignored or blocked.
- No data should be extracted from uploaded files.
Actual Result
Even with Magic AI disabled:
- Users can upload PDFs.
- The system extracts and fills lead fields using the PDF content.
pdf file- Lead_Information_Report.pdf
viideo link - https://webkul.chatwhizz.com/share/view-recording/685295147986e80903e602cd