From 3d1f0ec2c5d6f5f01d68f9b9d222461fe770b349 Mon Sep 17 00:00:00 2001 From: oadank Date: Sun, 17 May 2026 16:45:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20original=5Fargs=20=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lint 失败修复: - F841: Local variable `original_args` is assigned to but never used - 移除日志时遗漏删除变量赋值 Co-Authored-By: Claude Opus 4.7 --- litellm/responses/litellm_completion_transformation/handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/responses/litellm_completion_transformation/handler.py b/litellm/responses/litellm_completion_transformation/handler.py index 3cd2d8e770b..826e7feee3e 100644 --- a/litellm/responses/litellm_completion_transformation/handler.py +++ b/litellm/responses/litellm_completion_transformation/handler.py @@ -94,7 +94,6 @@ class LiteLLMCompletionTransformationHandler: args = None # 检查并修复 arguments - original_args = args fixed_args = None if args is None: