Debug (ai)
This commit is contained in:
@@ -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;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user