From 209cbb9d64fbfdc4af3ade2af085b055f351aeed 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:17:04 +0800 Subject: [PATCH] Update qianwen.go --- AIAPIS/qianwen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AIAPIS/qianwen.go b/AIAPIS/qianwen.go index 6290836..b28c9bf 100644 --- a/AIAPIS/qianwen.go +++ b/AIAPIS/qianwen.go @@ -48,7 +48,7 @@ type QWenResponse struct { } // 调用通义千问 -func Qianwen(respA, respB string) (string, error) { +func Qianwen(path, respA, respB string) (string, error) { requestBody := QWenRequest{ Model: "qwen-turbo", // 可根据需要切换模型 Input: RequestInput{ @@ -59,7 +59,7 @@ func Qianwen(respA, respB string) (string, error) { }, { Role: "user", - Content: "A:" + respA + "B:" + respB, + Content: "path:" + path + "A:" + respA + "B:" + respB, }, }, },