Fix linting
This commit is contained in:
parent
a5aa3da3bc
commit
101e1c907c
3 changed files with 20 additions and 18 deletions
|
|
@ -186,7 +186,9 @@ class LightRAG:
|
|||
embedding_batch_num: int = field(default=int(os.getenv("EMBEDDING_BATCH_NUM", 32)))
|
||||
"""Batch size for embedding computations."""
|
||||
|
||||
embedding_func_max_async: int = field(default=int(os.getenv("EMBEDDING_FUNC_MAX_ASYNC", 16)))
|
||||
embedding_func_max_async: int = field(
|
||||
default=int(os.getenv("EMBEDDING_FUNC_MAX_ASYNC", 16))
|
||||
)
|
||||
"""Maximum number of concurrent embedding function calls."""
|
||||
|
||||
embedding_cache_config: dict[str, Any] = field(
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ const useLightrangeGraph = () => {
|
|||
state.setLastSuccessfulQueryLabel('') // Clear last successful query label on error
|
||||
})
|
||||
}
|
||||
}, [queryLabel, maxQueryDepth, minDegree, isFetching])
|
||||
}, [queryLabel, maxQueryDepth, minDegree, isFetching, t])
|
||||
|
||||
// Handle node expansion
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue