From 7fe7ff81f9aff1756531ffd95f63dab37f848219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:16:19 +0800 Subject: [PATCH] Update deepseek.go --- AIAPIS/deepseek.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AIAPIS/deepseek.go b/AIAPIS/deepseek.go index dca0590..c5263b9 100644 --- a/AIAPIS/deepseek.go +++ b/AIAPIS/deepseek.go @@ -80,7 +80,7 @@ func CreateChatCompletion(request ChatCompletionRequestDeepSeek) (*ChatCompletio return &response, nil } -func DeepSeek(respA, respB string) (string, error) { +func DeepSeek(path, respA, respB string) (string, error) { // 示例请求 request := ChatCompletionRequestDeepSeek{ Model: "deepseek-chat", // 根据实际模型名称修改 @@ -91,7 +91,7 @@ func DeepSeek(respA, respB string) (string, error) { }, { Role: "user", - Content: "A:" + respA + "B:" + respB, + Content: "path:" + path + "A:" + respA + "B:" + respB, }, }, Temperature: 0.7,