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

feat: ai-proxy support custom error handler by cover util.ErrorHandler #1537

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pepesi
Copy link
Contributor

@pepesi pepesi commented Nov 22, 2024

Ⅰ. Describe what this PR did

解决如 #1532 描述的问题,允许替换错误处理部分,添加自定义逻辑

Ⅱ. Does this pull request fix one issue?

#1532

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.52%. Comparing base (ef31e09) to head (a25be3f).
Report is 206 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1537      +/-   ##
==========================================
+ Coverage   35.91%   43.52%   +7.61%     
==========================================
  Files          69       76       +7     
  Lines       11576    12320     +744     
==========================================
+ Hits         4157     5362    +1205     
+ Misses       7104     6622     -482     
- Partials      315      336      +21     

see 69 files with indirect coverage changes

---- 🚨 Try these New Features:

@pepesi pepesi changed the title feat: ai-proxy support custom error handler by cover DefaultErrorHandler feat: ai-proxy support custom error handler by cover util.ErrorHandler Nov 22, 2024
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.

3 participants