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

refactor: use goroutinue instead of mutex to sync messages #842

Merged
merged 25 commits into from
Jun 28, 2024

feat: support OPENAI_BASE_URL environment

68a4399
Select commit
Loading
Failed to load commit list.
Merged

refactor: use goroutinue instead of mutex to sync messages #842

feat: support OPENAI_BASE_URL environment
68a4399
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 27, 2024 in 0s

78.73% (+13.79%) compared to cc2e6f2

View this Pull Request on Codecov

78.73% (+13.79%) compared to cc2e6f2

Details

Codecov Report

Attention: Patch coverage is 73.90300% with 113 lines in your changes missing coverage. Please review.

Project coverage is 78.73%. Comparing base (cc2e6f2) to head (68a4399).

Files Patch % Lines
pkg/bridge/ai/caller.go 68.18% 38 Missing and 4 partials ⚠️
pkg/bridge/ai/api_server.go 57.57% 24 Missing and 4 partials ⚠️
pkg/bridge/ai/call_syncer.go 81.60% 16 Missing and 7 partials ⚠️
pkg/bridge/ai/provider/mock.go 85.07% 6 Missing and 4 partials ⚠️
pkg/bridge/ai/ai.go 72.00% 5 Missing and 2 partials ⚠️
pkg/bridge/ai/provider/openai/provider.go 60.00% 1 Missing and 1 partial ⚠️
serverless/mock/mock_context.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #842       +/-   ##
===========================================
+ Coverage   64.93%   78.73%   +13.79%     
===========================================
  Files          45       47        +2     
  Lines        2658     2718       +60     
===========================================
+ Hits         1726     2140      +414     
+ Misses        820      427      -393     
- Partials      112      151       +39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.