mirror of
https://github.com/Ed1s0nZ/PrivHunterAI.git
synced 2025-09-17 20:41:37 +00:00
Update kimi.go
This commit is contained in:
parent
ca0516d0d6
commit
cee135d7bf
@ -31,7 +31,7 @@ type ChoiceKimi struct {
|
||||
Message MessageKimi `json:"message"`
|
||||
}
|
||||
|
||||
func Kimi(url, respA, respB string) (string, error) {
|
||||
func Kimi(reqA, respA, respB, statusB string) (string, error) {
|
||||
// 设置 API Key 和请求 URL
|
||||
apiURL := "https://api.moonshot.cn/v1/chat/completions"
|
||||
|
||||
@ -45,7 +45,7 @@ func Kimi(url, respA, respB string) (string, error) {
|
||||
},
|
||||
{
|
||||
Role: "user",
|
||||
Content: "url:" + url + "A:" + respA + "B:" + respB,
|
||||
Content: "reqA:" + reqA + "\n" + "responseA:" + respA + "\n" + "responseB:" + respB + "\n" + "statusB:" + statusB,
|
||||
},
|
||||
},
|
||||
Temperature: 0.3,
|
||||
|
Loading…
x
Reference in New Issue
Block a user