#26879 Investigating P3 comp/agent

[Bug] auxiliary task provider identity lost when base_url + api_key are both set

When an auxiliary task config sets provider, base_url, and api_key together, the provider name is silently overwritten with 'custom', bypassing provider-specific handling and causing subtle failures.