Skip to content

launchdarkly-ai-langchain-agents: 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-agents: the span this handler emits is renamed from langchain.agent and langchain.agent.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-agents: emit invoke_agent, chat and execute_tool spans (7683c9d)
  • record judge scores as gen_ai.evaluation.result (#43) (7c8b0c9)

Bug Fixes

  • langchain-agents: a callback that raises must not leave a span unreachable (2169a05)
  • langchain-agents: a reported zero token count is not a missing one (0d5e38c)
  • langchain-agents: an abandoned stream marks its open spans, it does not fail them (d087d73)
  • langchain-agents: forward capture_content from the convenience wrapper (06b210d)
  • langchain-agents: keep a turn's billed tokens when its content write fails (485db67)
  • langchain-agents: keep the spans of a cancelled run (ff53cc6)
  • langchain-agents: make a successful run's total agree with its own spans (6333808)
  • langchain-agents: put the input content write inside the guard too (0fa4ed1)
  • langchain-agents: record the root completion the way the chat span does (1f4242b)
  • langchain-agents: report a cancelled stream as cancelled, not abandoned (010a9ca)
  • langchain-agents: total the streaming root from the callbacks when the messages report nothing (6ff5a94)
  • langchain-agents: track the chat span before writing content that can raise (883da7b)

Documentation

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