Skip to content

Commit c9287df

Browse files
github-actions[bot]jsonbaileyclaude
authored
chore: release main (#143)
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-server-sdk-ai: 0.19.0</summary> ## [0.19.0](launchdarkly-server-sdk-ai-0.18.0...launchdarkly-server-sdk-ai-0.19.0) (2026-05-05) ### ⚠ BREAKING CHANGES * StructuredResponse replaced by RunnerResult with new "parsed" property * AgentResult replaced by RunnerResult and Managed Result * Removed ModelRunner and AgentRunner protocols * Removed invoke_method, invoke_structured_model from AIProvider base class. * ModelResponse was replaced by RunnerResult * Add ManagedResult, RunnerResult, and Runner protocol; rename invoke() to run() ([#148](#148)) * Swap track_metrics_of parameter order to match spec ([#144](#144)) ### Features * Add evaluations support to ManagedAgent.run() ([#153](#153)) ([442f46a](442f46a)) * Add judge evaluation support to agent graphs ([#142](#142)) ([3d5a6a9](3d5a6a9)) * Add ManagedGraphResult, GraphMetricSummary, and AgentGraphRunnerResult types ([#151](#151)) ([301e24c](301e24c)) * Add ManagedResult, RunnerResult, and Runner protocol; rename invoke() to run() ([#148](#148)) ([88d4ddc](88d4ddc)) * Add root-level tools map with customParameters to AI Config types ([#141](#141)) ([f17c535](f17c535)) * bake sampling_rate into Judge at construction; simplify Evaluator to List[Judge] ([#159](#159)) ([86c79e6](86c79e6)) * Update LangChain runners to implement Runner protocol returning RunnerResult ([#150](#150)) ([62a8e25](62a8e25)) ### Bug Fixes * Add runtime DeprecationWarnings to deprecated methods ([#145](#145)) ([2189b81](2189b81)) * AgentResult replaced by RunnerResult and Managed Result ([fbb0b4b](fbb0b4b)) * build judge input as string; strip legacy judge config messages ([#165](#165)) ([e6942a6](e6942a6)) * Fall back to model.parameters.tools when root tools absent ([#146](#146)) ([2c30d75](2c30d75)) * Graph tracking refactor — ManagedAgentGraph drives tracking for new runner shape ([#154](#154)) ([20a5020](20a5020)) * ModelResponse was replaced by RunnerResult ([fbb0b4b](fbb0b4b)) * parse model.parameters.tools as list ([#160](#160)) ([fb53e99](fb53e99)) * reference correct PyPI package names in provider load error messages ([#164](#164)) ([48761c9](48761c9)) * Removed invoke_method, invoke_structured_model from AIProvider base class. ([fbb0b4b](fbb0b4b)) * Removed ModelRunner and AgentRunner protocols ([fbb0b4b](fbb0b4b)) * Replace done_callback with coroutine chain for judge tracking ([#147](#147)) ([1e1f36b](1e1f36b)) * StructuredResponse replaced by RunnerResult with new "parsed" property ([fbb0b4b](fbb0b4b)) * Swap track_metrics_of parameter order to match spec ([#144](#144)) ([53db736](53db736)) </details> <details><summary>launchdarkly-server-sdk-ai-langchain: 0.6.0</summary> ## [0.6.0](launchdarkly-server-sdk-ai-langchain-0.5.0...launchdarkly-server-sdk-ai-langchain-0.6.0) (2026-05-05) ### Features * Add judge evaluation support to agent graphs ([#142](#142)) ([3d5a6a9](3d5a6a9)) * Migrate LangGraph runner to AgentGraphRunnerResult; clean up legacy shape detection ([#156](#156)) ([efa8e00](efa8e00)) * Support conversation history directly in AI Provider model runners ([#166](#166)) ([4bb3e78](4bb3e78)) * Update LangChain runners to implement Runner protocol returning RunnerResult ([#150](#150)) ([62a8e25](62a8e25)) ### Bug Fixes * build judge input as string; strip legacy judge config messages ([#165](#165)) ([e6942a6](e6942a6)) </details> <details><summary>launchdarkly-server-sdk-ai-openai: 0.5.0</summary> ## [0.5.0](launchdarkly-server-sdk-ai-openai-0.4.0...launchdarkly-server-sdk-ai-openai-0.5.0) (2026-05-05) ### Features * Add judge evaluation support to agent graphs ([#142](#142)) ([3d5a6a9](3d5a6a9)) * Support conversation history directly in AI Provider model runners ([#166](#166)) ([4bb3e78](4bb3e78)) * Update OpenAI graph runner to return AgentGraphRunnerResult with GraphMetrics ([#155](#155)) ([388b7af](388b7af)) * Update OpenAI runners to implement Runner protocol returning RunnerResult ([#149](#149)) ([382e662](382e662)) ### Bug Fixes * build judge input as string; strip legacy judge config messages ([#165](#165)) ([e6942a6](e6942a6)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Primarily a release/version bump, but it publishes **breaking API changes** (move to unified `Runner.run()`/`RunnerResult` and removal of `invoke_*` methods), which can break downstream integrations. > > **Overview** > Cuts a new release across the core SDK and provider packages: `launchdarkly-server-sdk-ai` to `0.19.0`, LangChain provider to `0.6.0`, and OpenAI provider to `0.5.0`, updating the release manifest and package metadata accordingly. > > Changelogs document the shipped breaking API surface changes (notably removing `invoke_model()`/`invoke_structured_model()` in favor of `run(...)` and standardizing returns on `RunnerResult`) plus accompanying feature/fix entries; the core package version constants/docs (`__version__`, `PROVENANCE.md`) are updated to match. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a20d7a5. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: jsonbailey <jbailey@launchdarkly.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3996073 commit c9287df

9 files changed

Lines changed: 90 additions & 10 deletions

File tree

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"packages/sdk/server-ai": "0.18.0",
3-
"packages/ai-providers/server-ai-langchain": "0.5.0",
4-
"packages/ai-providers/server-ai-openai": "0.4.0",
2+
"packages/sdk/server-ai": "0.19.0",
3+
"packages/ai-providers/server-ai-langchain": "0.6.0",
4+
"packages/ai-providers/server-ai-openai": "0.5.0",
55
"packages/optimization": "0.1.0"
66
}

packages/ai-providers/server-ai-langchain/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
All notable changes to the LaunchDarkly Python AI LangChain provider package will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [0.6.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-langchain-0.5.0...launchdarkly-server-sdk-ai-langchain-0.6.0) (2026-05-05)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* `LangChainModelRunner.invoke_model()` and `invoke_structured_model()` have been removed. Use the unified `run(input, output_type=...)` method instead, which returns `RunnerResult` in place of `ModelResponse` / `StructuredResponse`.
11+
12+
13+
### Features
14+
15+
* Add judge evaluation support to agent graphs ([#142](https://github.com/launchdarkly/python-server-sdk-ai/issues/142)) ([3d5a6a9](https://github.com/launchdarkly/python-server-sdk-ai/commit/3d5a6a91a87c7475a83a7e440cd4b71337cfd56f))
16+
* Migrate LangGraph runner to AgentGraphRunnerResult; clean up legacy shape detection ([#156](https://github.com/launchdarkly/python-server-sdk-ai/issues/156)) ([efa8e00](https://github.com/launchdarkly/python-server-sdk-ai/commit/efa8e00103d3870d379167769ae38f438b019ec4))
17+
* Support conversation history directly in AI Provider model runners ([#166](https://github.com/launchdarkly/python-server-sdk-ai/issues/166)) ([4bb3e78](https://github.com/launchdarkly/python-server-sdk-ai/commit/4bb3e7813f7c087302ba8446dea6a4a41f012c2e))
18+
* Update LangChain runners to implement Runner protocol returning RunnerResult ([#150](https://github.com/launchdarkly/python-server-sdk-ai/issues/150)) ([62a8e25](https://github.com/launchdarkly/python-server-sdk-ai/commit/62a8e252f4389884fa2f6a90e325db4a8f79376a))
19+
20+
21+
### Bug Fixes
22+
23+
* build judge input as string; strip legacy judge config messages ([#165](https://github.com/launchdarkly/python-server-sdk-ai/issues/165)) ([e6942a6](https://github.com/launchdarkly/python-server-sdk-ai/commit/e6942a6e2d4db17ae1fa6191521f8ac4fb48f30d))
24+
525
## [0.5.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-langchain-0.4.1...launchdarkly-server-sdk-ai-langchain-0.5.0) (2026-04-21)
626

727

packages/ai-providers/server-ai-langchain/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "launchdarkly-server-sdk-ai-langchain"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
description = "LaunchDarkly AI SDK LangChain Provider"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
@@ -20,7 +20,7 @@ classifiers = [
2020
"Topic :: Software Development :: Libraries",
2121
]
2222
dependencies = [
23-
"launchdarkly-server-sdk-ai>=0.18.0",
23+
"launchdarkly-server-sdk-ai>=0.19.0",
2424
"langchain-core>=1.0.0",
2525
"langchain>=1.0.0",
2626
]

packages/ai-providers/server-ai-openai/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
All notable changes to the LaunchDarkly Python AI OpenAI provider package will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [0.5.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-openai-0.4.0...launchdarkly-server-sdk-ai-openai-0.5.0) (2026-05-05)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* `OpenAIModelRunner` no longer exposes `invoke_model()` or `invoke_structured_model()`. It now implements the unified `Runner` protocol — use `run(input: str)` instead. The return type is `RunnerResult` (replacing `ModelResponse` / `StructuredResponse`). ([#149](https://github.com/launchdarkly/python-server-sdk-ai/issues/149))
11+
12+
13+
### Features
14+
15+
* Add judge evaluation support to agent graphs ([#142](https://github.com/launchdarkly/python-server-sdk-ai/issues/142)) ([3d5a6a9](https://github.com/launchdarkly/python-server-sdk-ai/commit/3d5a6a91a87c7475a83a7e440cd4b71337cfd56f))
16+
* Support conversation history directly in AI Provider model runners ([#166](https://github.com/launchdarkly/python-server-sdk-ai/issues/166)) ([4bb3e78](https://github.com/launchdarkly/python-server-sdk-ai/commit/4bb3e7813f7c087302ba8446dea6a4a41f012c2e))
17+
* Update OpenAI graph runner to return AgentGraphRunnerResult with GraphMetrics ([#155](https://github.com/launchdarkly/python-server-sdk-ai/issues/155)) ([388b7af](https://github.com/launchdarkly/python-server-sdk-ai/commit/388b7af70c23180607764a0fc4783ae4d0cd096d))
18+
* Update OpenAI runners to implement Runner protocol returning RunnerResult ([#149](https://github.com/launchdarkly/python-server-sdk-ai/issues/149)) ([382e662](https://github.com/launchdarkly/python-server-sdk-ai/commit/382e662af00b224f7269397beea94c70c2872b9a))
19+
20+
21+
### Bug Fixes
22+
23+
* build judge input as string; strip legacy judge config messages ([#165](https://github.com/launchdarkly/python-server-sdk-ai/issues/165)) ([e6942a6](https://github.com/launchdarkly/python-server-sdk-ai/commit/e6942a6e2d4db17ae1fa6191521f8ac4fb48f30d))
24+
525
## [0.4.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-openai-0.3.0...launchdarkly-server-sdk-ai-openai-0.4.0) (2026-04-21)
626

727

packages/ai-providers/server-ai-openai/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "launchdarkly-server-sdk-ai-openai"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
description = "LaunchDarkly AI SDK OpenAI Provider"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
@@ -20,7 +20,7 @@ classifiers = [
2020
"Topic :: Software Development :: Libraries",
2121
]
2222
dependencies = [
23-
"launchdarkly-server-sdk-ai>=0.18.0",
23+
"launchdarkly-server-sdk-ai>=0.19.0",
2424
"openai>=1.0.0",
2525
]
2626

packages/sdk/server-ai/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,46 @@
22

33
All notable changes to the LaunchDarkly Python AI package will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [0.19.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-0.18.0...launchdarkly-server-sdk-ai-0.19.0) (2026-05-05)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* StructuredResponse replaced by RunnerResult with new "parsed" property
11+
* AgentResult replaced by RunnerResult and Managed Result
12+
* Removed ModelRunner and AgentRunner protocols
13+
* Removed invoke_model, invoke_structured_model from AIProvider base class.
14+
* ModelResponse was replaced by RunnerResult
15+
* Add ManagedResult, RunnerResult, and Runner protocol; rename invoke() to run() ([#148](https://github.com/launchdarkly/python-server-sdk-ai/issues/148))
16+
* Swap track_metrics_of parameter order to match spec ([#144](https://github.com/launchdarkly/python-server-sdk-ai/issues/144))
17+
18+
### Features
19+
20+
* Add evaluations support to ManagedAgent.run() ([#153](https://github.com/launchdarkly/python-server-sdk-ai/issues/153)) ([442f46a](https://github.com/launchdarkly/python-server-sdk-ai/commit/442f46aa65996a4b986e9421a3348180a43b520e))
21+
* Add judge evaluation support to agent graphs ([#142](https://github.com/launchdarkly/python-server-sdk-ai/issues/142)) ([3d5a6a9](https://github.com/launchdarkly/python-server-sdk-ai/commit/3d5a6a91a87c7475a83a7e440cd4b71337cfd56f))
22+
* Add ManagedGraphResult, GraphMetricSummary, and AgentGraphRunnerResult types ([#151](https://github.com/launchdarkly/python-server-sdk-ai/issues/151)) ([301e24c](https://github.com/launchdarkly/python-server-sdk-ai/commit/301e24c3f84168ba8f4fed2a172c0391b3017c29))
23+
* Add ManagedResult, RunnerResult, and Runner protocol; rename invoke() to run() ([#148](https://github.com/launchdarkly/python-server-sdk-ai/issues/148)) ([88d4ddc](https://github.com/launchdarkly/python-server-sdk-ai/commit/88d4ddce26c17fbf5509802367156e50a66d0a68))
24+
* Add root-level tools map with customParameters to AI Config types ([#141](https://github.com/launchdarkly/python-server-sdk-ai/issues/141)) ([f17c535](https://github.com/launchdarkly/python-server-sdk-ai/commit/f17c53571e707a46c695f0955163776a2999f49a))
25+
* bake sampling_rate into Judge at construction; simplify Evaluator to List[Judge] ([#159](https://github.com/launchdarkly/python-server-sdk-ai/issues/159)) ([86c79e6](https://github.com/launchdarkly/python-server-sdk-ai/commit/86c79e6a65c88cf9f59e8ed8ca4d29897b5ce059))
26+
* Update LangChain runners to implement Runner protocol returning RunnerResult ([#150](https://github.com/launchdarkly/python-server-sdk-ai/issues/150)) ([62a8e25](https://github.com/launchdarkly/python-server-sdk-ai/commit/62a8e252f4389884fa2f6a90e325db4a8f79376a))
27+
28+
29+
### Bug Fixes
30+
31+
* Add runtime DeprecationWarnings to deprecated methods ([#145](https://github.com/launchdarkly/python-server-sdk-ai/issues/145)) ([2189b81](https://github.com/launchdarkly/python-server-sdk-ai/commit/2189b812df257e122d7c7001158a219d34d9e3d0))
32+
* AgentResult replaced by RunnerResult and Managed Result ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
33+
* build judge input as string; strip legacy judge config messages ([#165](https://github.com/launchdarkly/python-server-sdk-ai/issues/165)) ([e6942a6](https://github.com/launchdarkly/python-server-sdk-ai/commit/e6942a6e2d4db17ae1fa6191521f8ac4fb48f30d))
34+
* Fall back to model.parameters.tools when root tools absent ([#146](https://github.com/launchdarkly/python-server-sdk-ai/issues/146)) ([2c30d75](https://github.com/launchdarkly/python-server-sdk-ai/commit/2c30d75a7df83207e8ff13bcb1af30e001554e8a))
35+
* Graph tracking refactor — ManagedAgentGraph drives tracking for new runner shape ([#154](https://github.com/launchdarkly/python-server-sdk-ai/issues/154)) ([20a5020](https://github.com/launchdarkly/python-server-sdk-ai/commit/20a50206a58b3aa1c0d256955a3dfda59a1e20f6))
36+
* ModelResponse was replaced by RunnerResult ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
37+
* parse model.parameters.tools as list ([#160](https://github.com/launchdarkly/python-server-sdk-ai/issues/160)) ([fb53e99](https://github.com/launchdarkly/python-server-sdk-ai/commit/fb53e99ea66634ee79867494535a28d3eac37646))
38+
* reference correct PyPI package names in provider load error messages ([#164](https://github.com/launchdarkly/python-server-sdk-ai/issues/164)) ([48761c9](https://github.com/launchdarkly/python-server-sdk-ai/commit/48761c998d58aa8ca2f8bbbe8a886e395d3a431a))
39+
* Removed invoke_model, invoke_structured_model from AIProvider base class. ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
40+
* Removed ModelRunner and AgentRunner protocols ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
41+
* Replace done_callback with coroutine chain for judge tracking ([#147](https://github.com/launchdarkly/python-server-sdk-ai/issues/147)) ([1e1f36b](https://github.com/launchdarkly/python-server-sdk-ai/commit/1e1f36b08ba28dafa4eb7b1dc8e192ef6a0891ad))
42+
* StructuredResponse replaced by RunnerResult with new "parsed" property ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
43+
* Swap track_metrics_of parameter order to match spec ([#144](https://github.com/launchdarkly/python-server-sdk-ai/issues/144)) ([53db736](https://github.com/launchdarkly/python-server-sdk-ai/commit/53db736e71fbdcb0cd83e4ed20ce1b8c1084db78))
44+
545
## [0.18.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-0.17.0...launchdarkly-server-sdk-ai-0.18.0) (2026-04-21)
646

747

packages/sdk/server-ai/PROVENANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To verify build provenance attestations, we recommend using the [GitHub CLI `att
99
<!-- x-release-please-start-version -->
1010
```
1111
# Set the version of the library to verify
12-
VERSION=0.18.0
12+
VERSION=0.19.0
1313
```
1414
<!-- x-release-please-end -->
1515

packages/sdk/server-ai/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "launchdarkly-server-sdk-ai"
3-
version = "0.18.0" # x-release-please-version
3+
version = "0.19.0" # x-release-please-version
44
description = "LaunchDarkly SDK for AI"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}

packages/sdk/server-ai/src/ldai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.18.0" # x-release-please-version
1+
__version__ = "0.19.0" # x-release-please-version
22

33
from ldclient import log
44

0 commit comments

Comments
 (0)