From bb9650aa3ac3b205f8d7e1b03a350ec46d45789f Mon Sep 17 00:00:00 2001 From: fuzhongyun <15339891972@163.com> Date: Mon, 5 Jan 2026 11:06:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=BD=E5=8A=A0taskIndex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/entitys/chat_history.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/entitys/chat_history.go b/internal/entitys/chat_history.go index b47638d..7c04ddb 100644 --- a/internal/entitys/chat_history.go +++ b/internal/entitys/chat_history.go @@ -49,6 +49,7 @@ func (c *ChatHisQueryResponse) FromModel(chat model.AiChatHi, task model.AiTask) c.CreateAt = chat.CreateAt.Format("2006-01-02 15:04:05") c.TaskID = chat.TaskID c.TaskName = task.Name + c.TaskIndex = task.Index c.Contents = make([]string, 0) // 解析Content