fix: 修复知识库手动添加分段报错的缺陷

--bug=1045628 --user=王孝刚 【知识库】手动添加分段报错 https://www.tapd.cn/57709429/s/1568695
This commit is contained in:
wxg0103 2024-08-23 16:56:21 +08:00 committed by wxg0103
parent 6169810e1a
commit 228f913d9b

View File

@ -39,7 +39,7 @@ def get_cache_poxy_function(poxy_function, cache_key):
def embedding_poxy(poxy_function):
def inner(args, **keywords):
def inner(*args, **keywords):
key = get_cache_key(poxy_function, args)
if memory_cache.has_key(key):
return