From 14c6451dcd56bab3ffe77ba55947030b30e242e8 Mon Sep 17 00:00:00 2001 From: yokowu <18836617@qq.com> Date: Mon, 21 Jul 2025 22:50:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=9A=E6=AC=A1?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/proxy/repo/proxy.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/internal/proxy/repo/proxy.go b/backend/internal/proxy/repo/proxy.go index 532e91d..64cce56 100644 --- a/backend/internal/proxy/repo/proxy.go +++ b/backend/internal/proxy/repo/proxy.go @@ -115,9 +115,6 @@ func (r *ProxyRepo) Record(ctx context.Context, record *domain.RecordParam) erro if record.OutputTokens > 0 { up.AddOutputTokens(record.OutputTokens) } - if t.InputTokens == 0 && record.InputTokens > 0 { - up.SetInputTokens(record.InputTokens) - } if t.CodeLines > 0 { up.AddCodeLines(record.CodeLines) }