Skip to content

Commit

Permalink
fix: 修复知识库手动添加分段报错的缺陷
Browse files Browse the repository at this point in the history
--bug=1045628 --user=王孝刚 【知识库】手动添加分段报错 https://www.tapd.cn/57709429/s/1568695
  • Loading branch information
wxg0103 committed Aug 23, 2024
1 parent 6169810 commit 228f913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/event/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def fun(args, **keywords):


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
Expand Down

0 comments on commit 228f913

Please sign in to comment.