This commit is contained in:
2024-07-18 15:42:53 +08:00
parent 3b1c250fb2
commit 2e7a6e3229

View File

@@ -102,6 +102,9 @@ class Reporttt
$chatobj->setBefore($content);
$sub_content = json_decode($contentstr,true);
if(empty($sub_content)){
return json(Tools::set_fail('没有对话诊断信息'));
}
Tools::log_to_write_txt(['聊天记录content'=>$sub_content]);
//$content = [
// //["role" => "user", "content" => '']