From 228f913d9bff15ce3a1a11f392d7ffd3cbdbb123 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 23 Aug 2024 16:56:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9F=A5=E8=AF=86?= =?UTF-8?q?=E5=BA=93=E6=89=8B=E5=8A=A8=E6=B7=BB=E5=8A=A0=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1045628 --user=王孝刚 【知识库】手动添加分段报错 https://www.tapd.cn/57709429/s/1568695 --- apps/common/event/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/event/common.py b/apps/common/event/common.py index a723592c5..a54d24df2 100644 --- a/apps/common/event/common.py +++ b/apps/common/event/common.py @@ -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