Skip to content

Commit a20d7a5

Browse files
jsonbaileyclaude
andcommitted
fix: correct invoke_model typo, bump provider sdk deps to 0.19.0, add provider breaking changes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 32ac8cb commit a20d7a5

5 files changed

Lines changed: 14 additions & 4 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to the LaunchDarkly Python AI LangChain provider package wil
55
## [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)
66

77

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+
813
### Features
914

1015
* 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))

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to the LaunchDarkly Python AI OpenAI provider package will b
55
## [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)
66

77

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+
813
### Features
914

1015
* 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))

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All notable changes to the LaunchDarkly Python AI package will be documented in
1010
* StructuredResponse replaced by RunnerResult with new "parsed" property
1111
* AgentResult replaced by RunnerResult and Managed Result
1212
* Removed ModelRunner and AgentRunner protocols
13-
* Removed invoke_method, invoke_structured_model from AIProvider base class.
13+
* Removed invoke_model, invoke_structured_model from AIProvider base class.
1414
* ModelResponse was replaced by RunnerResult
1515
* Add ManagedResult, RunnerResult, and Runner protocol; rename invoke() to run() ([#148](https://github.com/launchdarkly/python-server-sdk-ai/issues/148))
1616
* Swap track_metrics_of parameter order to match spec ([#144](https://github.com/launchdarkly/python-server-sdk-ai/issues/144))
@@ -36,7 +36,7 @@ All notable changes to the LaunchDarkly Python AI package will be documented in
3636
* ModelResponse was replaced by RunnerResult ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
3737
* 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))
3838
* 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_method, invoke_structured_model from AIProvider base class. ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
39+
* Removed invoke_model, invoke_structured_model from AIProvider base class. ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
4040
* Removed ModelRunner and AgentRunner protocols ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))
4141
* 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))
4242
* StructuredResponse replaced by RunnerResult with new "parsed" property ([fbb0b4b](https://github.com/launchdarkly/python-server-sdk-ai/commit/fbb0b4b45090144e3cb14d3966ed46a2884518fb))

0 commit comments

Comments
 (0)