π¦ New version release - #493
Merged
Merged
Conversation
brentrager
force-pushed
the
changeset-release/main
branch
from
August 18, 2026 23:38
8749bc0 to
33da2a0
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@smooai/smooth-operator@1.54.3
Patch Changes
29f1d87: Make Go, Python, TypeScript and .NET tool spans self-identifying, and record cost on all four.
All four engines omitted
gen_ai.systemfrom the tool span. OTLP consumers that gate on that attribute β SmooAI's does β therefore discarded every tool span those engines ever emitted, exactly as the Rust engine did. Each now carries its owngen_ai.system,gen_ai.operation.name(literallychat/tool, taken verbatim by ingest),gen_ai.conversation.id, andsmooai.org_idwhere the engine has one. Child spans need their own copies: an ingest merges resource attributes with that span's attributes and does not inherit from the parent.Cost reaches the span for the first time in all four:
gen_ai.usage.cost_usdwhen positive, otherwisesmooai.gen_ai.cost_unavailable="unpriced". A gateway zero means the model is unpriced, not free, so it is never recorded as a cost.Two fabricated values found and removed rather than ported:
TurnUsage(0, β¦)on the cost fallback path, under an XML doc note reading "0 means 'nothing priced it', not 'free'" β the comment was correct and the code shipped the zero anyway.input_tokens = 0because it guarded onsawUsagealone; a usage chunk with null counts sets that flag while both totals collapse to0. The other three engines guard on the counts themselves.Each engine has a test that fails without its change, verified by reverting and restoring.
@smooai/smooth-operator-web-chat-example@0.0.97
Patch Changes