فهرست منبع

Merge branch 'feature/deepseek_rag_1.0' into debug

kobe6258 1 ماه پیش
والد
کامیت
4e6578f530
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      utils/llm/eta_llm/eta_llm_client.go

+ 1 - 1
utils/llm/eta_llm/eta_llm_client.go

@@ -111,7 +111,7 @@ func (ds *ETALLMClient) KnowledgeBaseChat(query string, KnowledgeBaseName string
 			continue
 		}
 		ChatHistory = append(ChatHistory, eta_llm_http.HistoryContent{
-			Content: historyItem.Content,
+			Content: fmt.Sprintf("【历史对话】 %s", historyItem.Content),
 			Role:    historyItem.Role,
 		})
 	}