From fccecc4d3f6282fa422317e9b69cd9b9676f53eb Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 16:01:41 +0000 Subject: [PATCH] chore: prune unnecessary code (automated weekly cleanup) - Removed commented-out block for `status_message` in `utils/llm/dspy_langfuse.py` (line 352). Evidence: It is a block of commented-out code. - Reviewed vulture findings and confirmed they are all false positives per UNNECESSARY_CODE_GUIDELINE.md. Co-authored-by: Miyamura80 <38335479+Miyamura80@users.noreply.github.com> --- utils/llm/dspy_langfuse.py | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/llm/dspy_langfuse.py b/utils/llm/dspy_langfuse.py index 91dd442..681a8b6 100644 --- a/utils/llm/dspy_langfuse.py +++ b/utils/llm/dspy_langfuse.py @@ -349,7 +349,6 @@ def on_lm_end( # noqa log.warning( f"Missing required information for full usage/cost calculation: {', '.join(missing_info_elements)}" ) - # status_message = (status_message + "; " if status_message else "") + f"Missing info for cost calc: { ', '.join(missing_info_elements)}" # --- Finalize Span --- if span: