🔊 print when SSL verification disabled

This commit is contained in:
Nate Sesti 2024-04-01 17:04:47 -07:00
parent 6cfd3a551c
commit f24e95608f

View file

@ -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