Update app.ts

This commit is contained in:
Pawan Osman
2024-04-10 09:53:51 +03:00
committed by GitHub
parent 31f58b8955
commit b2e81e6e9b
+1 -1
View File
@@ -276,7 +276,7 @@ async function handleChatCompletion(req: Request, res: Response) {
JSON.stringify({
status: false,
error: {
message: "An error happened, please make sure your request is SFW, or use a jailbreak to bypass the filter.",
message: "An error occurred. Please check the server console to confirm it is ready and free of errors. Additionally, ensure that your request complies with OpenAI's policy.",
type: "invalid_request_error",
},
support: "https://discord.pawan.krd",