mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[OpenAI Connector] Get http
info from config url, not proxyUrl (#225541)
This commit is contained in:
parent
5cb7f2ddf4
commit
4543f3e25d
1 changed files with 1 additions and 3 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue