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