[OpenAI Connector] Get http info from config url, not proxyUrl (#225541)

This commit is contained in:
Steph Milovic 2025-06-26 16:16:32 -06:00 committed by GitHub
parent 5cb7f2ddf4
commit 4543f3e25d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,9 +87,7 @@ export class OpenAIConnector extends SubActionConnector<Config, Secrets> {
const defaultHeaders = { ...this.headers };
let defaultQuery: Record<string, string> | undefined;
const isHttps = (this.configurationUtilities.getProxySettings()?.proxyUrl ?? this.url)
.toLowerCase()
.startsWith('https');
const isHttps = this.url.toLowerCase().startsWith('https');
if (
this.provider === OpenAiProviderType.Other &&