Skip to content

v0.1.22

Choose a tag to compare

@AdityaSaroj AdityaSaroj released this 19 Jun 20:18
· 28 commits to main since this release
526b6b2
  • Added span_scope(), SpanScope, run_with_span(), run_with_span_async() for explicit span lifecycle control — enables streaming/long-lived spans where the scope stays open across async callbacks (Node SDK parity)
  • Added traccia.pricing_normalizer module exposing normalize() and diff_models() — shared between the snapshot build script and the platform pricing refresh pipeline
  • CostAnnotatingProcessor now skips cost annotation for non-LLM spans: if span.type is set to anything other than "llm" (case-insensitive), the span is ignored; spans without span.type are unaffected
  • Fixed redaction_processor package path — moved from erroneous traccia/processors/ to correct processors/ location, aligning with all existing imports
  • Fixed broken TestNormalizer import path in tests (was app.services.pricing.normalizer, now traccia.pricing_normalizer)