mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-31 13:03:49 +08:00
Fix: provider name (#16733)
This commit is contained in:
@@ -32,6 +32,7 @@ warnings.filterwarnings(
|
||||
def _install_cv2_stub_if_unavailable():
|
||||
try:
|
||||
import cv2 # noqa: F401
|
||||
|
||||
return
|
||||
except (ImportError, OSError) as exc:
|
||||
# cv2 can fail to import with OSError too (e.g. missing shared libs),
|
||||
|
||||
@@ -19,6 +19,7 @@ Covers the behaviour flagged in review: (1) session_id is preferred over
|
||||
user_id, (2) an explicit caller-supplied ``user`` overrides the context value,
|
||||
and (3) a caller-supplied empty ``user`` suppresses forwarding entirely.
|
||||
"""
|
||||
|
||||
import types
|
||||
|
||||
import pytest
|
||||
|
||||
Reference in New Issue
Block a user