randydev commited on
Commit
f7a6d77
·
verified ·
1 Parent(s): e0122d0
Files changed (1) hide show
  1. plugins/gptold.js +2 -1
plugins/gptold.js CHANGED
@@ -798,7 +798,8 @@ GptRoutes.get('/api/v1/ai/akenox/antievalai-v3', authenticateApiKeyPremium, apiL
798
  const results = await AlibabaTogether(query, {
799
  system_prompt: ModeratorAntiEvalVersionV3
800
  });
801
- res.json({ results });
 
802
  } catch (error) {
803
  res.status(401).json({ error: error.message });
804
  }
 
798
  const results = await AlibabaTogether(query, {
799
  system_prompt: ModeratorAntiEvalVersionV3
800
  });
801
+ check_result = JSON.parse(results)
802
+ res.json({ check_result });
803
  } catch (error) {
804
  res.status(401).json({ error: error.message });
805
  }