Debug (ai)

This commit is contained in:
2023-09-25 10:16:42 +08:00
parent accb3eb94b
commit 03e83f4786

View File

@@ -61,11 +61,11 @@ public static function suggestArticleTitles($current_title, $supporting_data, $s
$reply = self::chatCompletion($system_prompt, $current_title, 'gpt-3.5-turbo');
try {
// try {
return json_decode($reply, false);
} catch (Exception $e) {
return null;
}
// } catch (Exception $e) {
// return null;
// }
}