Skip to content

launchdarkly-ai-openai-messages: v0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 22:28
Immutable release. Only release title and notes can be modified.
7f14688

0.2.0 (2026-09-08)

⚠ BREAKING CHANGES

  • openai-messages: the span this handler emits is renamed from openai.response and openai.response.stream to invoke_agent. Queries selecting on the old names will not match. Prompt and completion content is no longer on spans unless the caller passes capture_content=True.

Features

  • emit $ld:ai:sdk:info event per AI package (#62) (65136a3)
  • gate the judge explanation on capture_content (8a66365)
  • openai-messages: emit invoke_agent, chat and execute_tool spans (17ad375)
  • record judge scores as gen_ai.evaluation.result (#43) (7c8b0c9)

Bug Fixes

  • openai-messages: close the tool span a cancelled tool leaves open (35a254d)
  • openai-messages: drop output items that produced no content (66bacd0)
  • openai-messages: fail the streaming chat span, and keep its tokens (83f8684)
  • openai-messages: forward capture_content from the convenience wrapper (495391f)
  • openai-messages: keep every chat-span write inside the guard that ends it (a4fed91)
  • openai-messages: keep the spans of a cancelled run (c93a902)
  • openai-messages: keep the tokens a turn already cost when its content fails (8501379)
  • openai-messages: record a tool result inside the guard that ends its span (6b9813b)
  • openai-messages: report a cancelled stream as cancelled, not abandoned (76c4cef)
  • openai-messages: report tool arguments as an object, not a JSON string (a6b9da9)

Documentation

  • describe the span tree the SDK now emits (bc7815a)
  • describe the span tree the SDK now emits (#37) (6a82ef5)