-
Notifications
You must be signed in to change notification settings - Fork 800
Improve ai plugins #1657
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
Improve ai plugins #1657
Conversation
rinfx
commented
Jan 9, 2025
- ai-cache:修改响应模板,如果由cache直接返回,响应中模型名称改为 from-cache
- ai-statistic:metric增加consumer信息
- ai-security-guard:修改响应模板,如果由对话检测到风险,响应中模型名称改为 from-security-guard,同时添加usage信息
- ai-proxy:修复部分情况下会发生crash的问题
- ai-prompt-template:默认行为修改为生效
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1657 +/- ##
==========================================
+ Coverage 35.91% 43.63% +7.72%
==========================================
Files 69 76 +7
Lines 11576 12358 +782
==========================================
+ Hits 4157 5393 +1236
+ Misses 7104 6628 -476
- Partials 315 337 +22 |
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
865d4b4
to
a795f54
Compare
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
Co-authored-by: Kent Dong <[email protected]>