fix: 修复知识库手动添加分段报错的缺陷
--bug=1045628 --user=王孝刚 【知识库】手动添加分段报错 https://www.tapd.cn/57709429/s/1568695
This commit is contained in:
parent
6169810e1a
commit
228f913d9b
@ -39,7 +39,7 @@ def get_cache_poxy_function(poxy_function, cache_key):
|
|||||||
|
|
||||||
|
|
||||||
def embedding_poxy(poxy_function):
|
def embedding_poxy(poxy_function):
|
||||||
def inner(args, **keywords):
|
def inner(*args, **keywords):
|
||||||
key = get_cache_key(poxy_function, args)
|
key = get_cache_key(poxy_function, args)
|
||||||
if memory_cache.has_key(key):
|
if memory_cache.has_key(key):
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user