[feat] [sdk] @cozeloop/ai@0.0.11 with PTaaS trace and output support #21
Merged
Conversation
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #21 +/- ##
==========================================
+ Coverage 90.57% 90.88% +0.31%
==========================================
Files 59 60 +1
Lines 3245 3501 +256
Branches 748 810 +62
==========================================
+ Hits 2939 3182 +243
- Misses 302 318 +16
+ Partials 4 1 -3
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
NoahKex
approved these changes
Nov 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive tracing and output handling capabilities for PTaaS (Prompt as a Service) in the
@cozeloop/aipackage, released as version 0.0.11.Changes
🎯 Features
PTaaS Trace Support: Added trace collection and propagation for PTaaS streaming responses
collectStreamutility to handle streaming data collection (src/prompt/collect-stream.ts)PTaaS Output Enhancement: Improved output handling for PTaaS responses
ptaas-toolcall-stream.txt)📝 Documentation
🧪 Testing
📦 Version
Related Commits