-
Notifications
You must be signed in to change notification settings - Fork 304
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
[MLOBS-879] Add tests to openai streaming #4346
[MLOBS-879] Add tests to openai streaming #4346
Conversation
Overall package sizeSelf size: 6.53 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
a2da630
to
6187bfb
Compare
9435181
to
cc4352a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## sabrenner/openai-streaming #4346 +/- ##
==============================================================
+ Coverage 82.20% 88.71% +6.51%
==============================================================
Files 245 246 +1
Lines 10350 10416 +66
Branches 33 33
==============================================================
+ Hits 8508 9241 +733
+ Misses 1842 1175 -667 ☔ View full report in Codecov by Sentry. |
BenchmarksBenchmark execution time: 2024-05-24 01:15:07 Comparing candidate commit 25c6433 in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 262 metrics, 3 unstable metrics. scenario:plugin-graphql-with-depth-on-max-18
|
Co-authored-by: Yun Kim <[email protected]>
* yarn * add remaining tests * remove yarn files * add yarn lock back * format * fix lint * fix test * fix lints * Update packages/datadog-plugin-openai/test/index.spec.js Co-authored-by: Yun Kim <[email protected]> --------- Co-authored-by: Yun Kim <[email protected]>
What does this PR do?
This PR adds 3 tests to the OpenAI library, specifically to the endpoints
completion
andchat/completion
using thestream=true
parameter.Motivation
Plugin Checklist
Additional Notes