Skip to content
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

add default deny message #1347

Merged
merged 5 commits into from
Sep 27, 2024
Merged

add default deny message #1347

merged 5 commits into from
Sep 27, 2024

Conversation

rinfx
Copy link
Collaborator

@rinfx rinfx commented Sep 26, 2024

Ⅰ. Describe what this PR did

如果阿里云内容安全未返回建议的回答,允许用户使用兜底回答进行回复

Ⅱ. Does this pull request fix one issue?

fixes #1346

@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.23%. Comparing base (ef31e09) to head (523f27d).
Report is 122 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1347      +/-   ##
==========================================
+ Coverage   35.91%   44.23%   +8.32%     
==========================================
  Files          69       76       +7     
  Lines       11576     9895    -1681     
==========================================
+ Hits         4157     4377     +220     
+ Misses       7104     5183    -1921     
- Partials      315      335      +20     

see 91 files with indirect coverage changes

Copy link
Collaborator

@CH3CHO CH3CHO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CH3CHO CH3CHO merged commit 1b119ed into alibaba:main Sep 27, 2024
12 checks passed
@rinfx rinfx deleted the ai-sec-default-msg branch November 5, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI内容安全插件命中自定义词库时上游服务未返回插件期望字段
3 participants