|
@@ -81,8 +81,8 @@ class Common |
|
@@ -81,8 +81,8 @@ class Common |
|
81
|
$content = str_replace('$keyword$', $param['keywords'], $info['ai']);
|
81
|
$content = str_replace('$keyword$', $param['keywords'], $info['ai']);
|
|
82
|
$data = [
|
82
|
$data = [
|
|
83
|
'messages'=>[
|
83
|
'messages'=>[
|
|
84
|
- ['role'=>'system','content'=>$info['scene']],
|
|
|
|
85
|
- ['role'=>'assistant','content'=>$content.$str],
|
84
|
+// ['role'=>'system','content'=>$info['scene']],
|
|
|
|
85
|
+ ['role'=>'user','content'=>$content.$str],
|
|
86
|
]
|
86
|
]
|
|
87
|
];
|
87
|
];
|
|
88
|
return http_post($url,json_encode($data));
|
88
|
return http_post($url,json_encode($data));
|