After 3.3.0 upgrade, Ansible smart proxy doesn't work properly

Problem:

We have upgraded our Foreman environment from 3.0.2. to 3.4.0
Upgrade path was : 3.0.2 → 3.2.0 → 3.2.0 → 3.3.0 → 3.4.0
We have dedicated smart proxy setup for Ansible roles to run on clients
After 3.3.0 upgrade jobs doesn’t go through the dedicated smart proxy rather than the smart proxy on the foreman server it self. If we delete smart proxy on the Foreman server it uses the Ansible smart proxy. 3.4.0 also has this issue. Basically started after 3.30 upgrade

Have anyone had this issue? Or is anyone can help me to resolve this issue ?

Does the proxy on foreman itself have the ansible feature? If not, it could be this Bug #35515: Proxy selection ignores proxy features for providers inheriting from RemoteExecutionProvider without overriding #proxy_feature - Foreman Remote Execution - Foreman

The solution that you gave works
We manually edited the … app/models/remote_execution_provider.rb file

Thanks for the help.