Fix typo error

This commit is contained in:
yangdx
2025-02-01 22:27:49 +08:00
parent b87703aea6
commit 3c3cdba499

View File

@@ -568,7 +568,7 @@ async def save_to_cache(hashing_kv, cache_data: CacheData):
mode_cache[cache_data.args_hash] = { mode_cache[cache_data.args_hash] = {
"return": cache_data.content, "return": cache_data.content,
"cache_type": cache_data.cache_data, "cache_type": cache_data.cache_type,
"embedding": cache_data.quantized.tobytes().hex() "embedding": cache_data.quantized.tobytes().hex()
if cache_data.quantized is not None if cache_data.quantized is not None
else None, else None,