Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Feat [Explicit] [LLM APIs] [Text Moderation Fallback] Error Handling #294

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

H0llyW00dzZ
Copy link
Owner

  • [+] feat(textmoderation.ts): implement error handling for fallback moderation request
  • [+] refactor(textmoderation.ts): remove redundant error logging from moderateText function

Note: By implementing in this manner, the issue of repetition should be resolved when an error is first encountered during text moderation. Essentially, both components already possess their own error handling mechanisms.

- [+] feat(textmoderation.ts): implement error handling for fallback moderation request
- [+] refactor(textmoderation.ts): remove redundant error logging from moderateText function

Note: By implementing in this manner, the issue of repetition should be resolved when an error is first encountered during text moderation. Essentially, both components already possess their own error handling mechanisms.
Copy link

CodeQL analysis is complete for PR #294

@H0llyW00dzZ H0llyW00dzZ marked this pull request as ready for review February 28, 2024 03:02
@H0llyW00dzZ H0llyW00dzZ merged commit a6ab683 into main Feb 28, 2024
5 checks passed
@H0llyW00dzZ H0llyW00dzZ deleted the error branch February 28, 2024 03:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant