Skip to content

Commit 1e2f9df

Browse files
committed
doc: remove comment error
1 parent 9ddaab3 commit 1e2f9df

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/backend/src/modules/puterai/AIChatService.js

-9
Original file line numberDiff line numberDiff line change
@@ -503,15 +503,6 @@ class AIChatService extends BaseService {
503503
}
504504

505505

506-
/**
507-
* Performs content moderation on chat messages
508-
* @param {Object} params - The parameters object
509-
* @param {Array} params.messages - Array of chat messages to moderate
510-
* @returns {Promise<boolean>} Returns true if content passes moderation, false if flagged
511-
* @description Checks message content against OpenAI's moderation API. Handles both string
512-
* and structured message content. Returns false if any message is flagged as inappropriate.
513-
* If OpenAI service is unavailable, returns true to allow messages through.
514-
*/
515506
async models_ () {
516507
return this.detail_model_list;
517508
}

0 commit comments

Comments
 (0)