enh: REQUESTS_VERIFY

This commit is contained in:
Timothy Jaeryang Baek
2026-01-01 01:27:07 +04:00
parent 431632d530
commit dfc5dad631
4 changed files with 15 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ from typing import Optional, List, Tuple
from urllib.parse import quote
from open_webui.env import ENABLE_FORWARD_USER_INFO_HEADERS
from open_webui.env import ENABLE_FORWARD_USER_INFO_HEADERS, REQUESTS_VERIFY
from open_webui.retrieval.models.base_reranker import BaseReranker
from open_webui.utils.headers import include_user_info_headers
@@ -55,6 +55,7 @@ class ExternalReranker(BaseReranker):
headers=headers,
json=payload,
timeout=self.timeout,
verify=REQUESTS_VERIFY,
)
r.raise_for_status()