-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ai敏感词拦截插件 #1190
feat: ai敏感词拦截插件 #1190
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1190 +/- ##
==========================================
- Coverage 35.91% 35.87% -0.04%
==========================================
Files 69 69
Lines 11576 9500 -2076
==========================================
- Hits 4157 3408 -749
+ Misses 7104 5775 -1329
- Partials 315 317 +2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
麻烦再补一个e2e测试用例,可以用custom-response插件来自定义响应,来验证响应的masking效果
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
Ⅰ. Describe what this PR did
ai敏感词拦截插件
Ⅱ. Does this pull request fix one issue?
fixes #1182
fixes #1140
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews