mirror of
https://github.com/Ed1s0nZ/PrivHunterAI.git
synced 2025-09-17 20:41:37 +00:00
Update qianwen.go
This commit is contained in:
parent
837fbc5760
commit
209cbb9d64
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user