mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-27 14:52:34 +00:00
移除kwargs中的hashing_kv参数取为变量
This commit is contained in:
parent
efdd4b8b8e
commit
4da7dd1865
@ -97,7 +97,7 @@ async def openai_complete_if_cache(
|
||||
|
||||
# Save to cache
|
||||
await save_to_cache(
|
||||
kwargs.get("hashing_kv"),
|
||||
hashing_kv,
|
||||
CacheData(
|
||||
args_hash=args_hash,
|
||||
content=content,
|
||||
@ -271,7 +271,7 @@ async def bedrock_complete_if_cache(
|
||||
|
||||
# Save to cache
|
||||
await save_to_cache(
|
||||
kwargs.get("hashing_kv"),
|
||||
hashing_kv,
|
||||
CacheData(
|
||||
args_hash=args_hash,
|
||||
content=response["output"]["message"]["content"][0]["text"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user