[modular] not pass trust_remote_code to external repos (#13204)
* add
* update warn
* add a test
* updaqte
* update_component with custom model
* add more tests
* Apply suggestion from @DN6
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
* up
---------
Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-161-123.ec2.internal>
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>