Skip to content

launchdarkly-ai-langchain-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

  • langchain-messages: the span this handler emits is renamed from langchain.invoke and langchain.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. gen_ai.system changes value; see below.

Features

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

Bug Fixes

  • langchain-messages: close the tool span a cancelled tool leaves open (53c7f9a)
  • langchain-messages: do not serialise the output nobody asked for (0c9a5dd)
  • langchain-messages: fail the streaming chat span, and keep its tokens (b084536)
  • langchain-messages: forward capture_content from the convenience wrapper (79d8030)
  • langchain-messages: guard the per-turn chat span's input write too (2b901b4)
  • langchain-messages: guard the streaming root's output write (178891a)
  • langchain-messages: keep every structured-turn write inside the guard (de76f8b)
  • langchain-messages: keep the spans of a cancelled run (9c30fb3)
  • langchain-messages: one structured strategy, and don't report zeros as spend (d7129d4)
  • langchain-messages: put the input content write inside the guard too (a68fdff)
  • langchain-messages: record a tool result inside the guard that ends its span (72c7481)
  • langchain-messages: report a cancelled stream as cancelled, not abandoned (9b8e10d)
  • langchain-messages: two more ways a run misreported itself (ad90d70)
  • langchain-messages: two ways a run could vanish from its own trace (b8bdfaf)

Documentation

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