mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Code refactor. (#4291)
### What problem does this PR solve? ### Type of change - [x] Refactoring
This commit is contained in:
@ -81,7 +81,7 @@ def get_llm_cache(llmnm, txt, history, genconf):
|
||||
return bin
|
||||
|
||||
|
||||
def set_llm_cache(llmnm, txt, v: str, history, genconf):
|
||||
def set_llm_cache(llmnm, txt, v, history, genconf):
|
||||
hasher = xxhash.xxh64()
|
||||
hasher.update(str(llmnm).encode("utf-8"))
|
||||
hasher.update(str(txt).encode("utf-8"))
|
||||
|
||||
Reference in New Issue
Block a user