randydev commited on
Commit
8821896
·
verified ·
1 Parent(s): 27013da
Files changed (1) hide show
  1. plugins/gptold.js +3 -0
plugins/gptold.js CHANGED
@@ -406,6 +406,9 @@ GptRoutes.get('/api/v1/ai/r/Ryzenth-Humanize-05-06-2025', authenticateApiKeyPrem
406
  if (author_id === "0" || author_id === 0) {
407
  return res.status(403).json({ error: "author Cannot zero" });
408
  }
 
 
 
409
  const results = await AlibabaTogether(query, {
410
  system_prompt: SystemHumanizeRyzenth(author_id, writing_style, timestamp)
411
  });
 
406
  if (author_id === "0" || author_id === 0) {
407
  return res.status(403).json({ error: "author Cannot zero" });
408
  }
409
+ if (author_id === "anonymous") {
410
+ return res.status(403).json({ error: "Why anonymous?" });
411
+ }
412
  const results = await AlibabaTogether(query, {
413
  system_prompt: SystemHumanizeRyzenth(author_id, writing_style, timestamp)
414
  });