From f24e95608f3dddd5814eb7bd24d4026442b1ea29 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 1 Apr 2024 17:04:47 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20print=20when=20SSL=20verificatio?= =?UTF-8?q?n=20disabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config/handler.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/config/handler.ts b/core/config/handler.ts index 221a3ae37..41cf32084 100644 --- a/core/config/handler.ts +++ b/core/config/handler.ts @@ -123,6 +123,10 @@ export class ConfigHandler { const proxy = llm.requestOptions?.proxy; llm._fetch = async (input, init) => { + if (agentOptions.rejectUnauthorized === false) { + console.log("SSL verification is disabled"); + } + // Create agent const protocol = new URL(input).protocol === "https:" ? https : http; const agent = proxy