🔊 print when SSL verification disabled
This commit is contained in:
parent
6cfd3a551c
commit
f24e95608f
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue