From 4798165272104bcf7e001c5fb8aa62662db00877 Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Tue, 3 Mar 2026 12:35:10 +0800 Subject: [PATCH] fix: update task billing log content to include reason --- service/task_billing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/task_billing.go b/service/task_billing.go index 0da4cf43..b887f668 100644 --- a/service/task_billing.go +++ b/service/task_billing.go @@ -222,13 +222,13 @@ func RecalculateTaskQuota(ctx context.Context, task *model.Task, actualQuota int } other := taskBillingOther(task) other["task_id"] = task.TaskID - other["reason"] = reason + //other["reason"] = reason other["pre_consumed_quota"] = preConsumedQuota other["actual_quota"] = actualQuota model.RecordTaskBillingLog(model.RecordTaskBillingLogParams{ UserId: task.UserId, LogType: logType, - Content: "", + Content: reason, ChannelId: task.ChannelId, ModelName: taskModelName(task), Quota: logQuota,