-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(lightrag): 优化hashing_kv初始化逻辑
- 修改了 llm_model_func 和 query 方法中的hashing_kv初始化逻辑 - 当 self.llm_response_cache 不存在或没有 global_config 属性时,会创建一个新的hashing_kv实例 - 所有基于hashing_kv获取global_config属性的对象可以正常运行
- Loading branch information
1 parent
a3bf3a5
commit 9893e93
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters