mirror of
https://github.com/itflow-org/itflow
synced 2026-09-22 22:51:17 +00:00
clarify error message wording
This commit is contained in:
@@ -65,7 +65,7 @@ if (isset($_GET['ai_reword'])) {
|
||||
echo json_encode(['rewordedText' => $cleanedContent]);
|
||||
} else {
|
||||
// Handle errors or unexpected response structure.
|
||||
echo json_encode(['rewordedText' => 'Failed to get a response from the OpenAI API.']);
|
||||
echo json_encode(['rewordedText' => 'Failed to get a response from the AI API.']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user