Commit f2782b1
committed
ci: auto-bump provider package server-ai dep on release
Configure release-please to keep the provider packages' lower bound on
launchdarkly-server-sdk-ai in sync with the most-recently-released
server-ai version, so a langchain/openai provider release can never ship
with a lower bound that resolves to a server-ai version missing symbols
the provider imports.
The server-ai package's `extra-files` now also targets the langchain and
openai pyproject.toml files. An inline `# x-release-please-version`
annotation on the dependency line lets the Generic updater rewrite the
pinned version on each server-ai release without touching the rest of
the file.
Also bumps the lower bound from `>=0.19.0` to `>=0.20.0` to fix the
already-broken bound: provider versions 0.7.0 (langchain) and 0.6.0
(openai) import `AIGraphMetrics`, which only exists in
launchdarkly-server-sdk-ai >=0.20.0 (renamed from `GraphMetrics`).1 parent 7cc3d9b commit f2782b1
3 files changed
Lines changed: 5 additions & 3 deletions
File tree
- packages/ai-providers
- server-ai-langchain
- server-ai-openai
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments