From 0f259ffff54a8028917f84c38b9755d57a8aaff0 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:34:14 +0800 Subject: [PATCH] Update kimi.go --- AIAPIS/kimi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AIAPIS/kimi.go b/AIAPIS/kimi.go index 99a8501..0396032 100644 --- a/AIAPIS/kimi.go +++ b/AIAPIS/kimi.go @@ -30,7 +30,7 @@ type ChoiceKimi struct { Message MessageKimi `json:"message"` } -func Kimi(path, respA, respB string) (string, error) { +func Kimi(url, respA, respB string) (string, error) { // 设置 API Key 和请求 URL apiURL := "https://api.moonshot.cn/v1/chat/completions" @@ -44,7 +44,7 @@ func Kimi(path, respA, respB string) (string, error) { }, { Role: "user", - Content: "path:" + path + "A:" + respA + "B:" + respB, + Content: "url:" + url + "A:" + respA + "B:" + respB, }, }, Temperature: 0.3,