Fix linting

This commit is contained in:
yangdx
2025-02-26 18:11:16 +08:00
parent 7d12715f09
commit 7436c06f6c
11 changed files with 205 additions and 144 deletions

View File

@@ -55,6 +55,7 @@ def set_verbose_debug(enabled: bool):
global VERBOSE_DEBUG
VERBOSE_DEBUG = enabled
statistic_data = {"llm_call": 0, "llm_cache": 0, "embed_call": 0}
# Initialize logger
@@ -100,6 +101,7 @@ class UnlimitedSemaphore:
ENCODER = None
@dataclass
class EmbeddingFunc:
embedding_dim: int