mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 15:09:11 +08:00
fix: unused stream variable
This commit is contained in:
parent
00cf5f3841
commit
fee4dd7d7a
@ -45,7 +45,6 @@ def make_request(method, url, max_retries=SSRF_DEFAULT_MAX_RETRIES, **kwargs):
|
|||||||
)
|
)
|
||||||
|
|
||||||
retries = 0
|
retries = 0
|
||||||
stream = kwargs.pop("stream", False)
|
|
||||||
while retries <= max_retries:
|
while retries <= max_retries:
|
||||||
try:
|
try:
|
||||||
if dify_config.SSRF_PROXY_ALL_URL:
|
if dify_config.SSRF_PROXY_ALL_URL:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user