Skip to content

Commit 717c80b

Browse files
committed
fix installation order
1 parent 550294f commit 717c80b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ jobs:
9898
- name: Install poetry
9999
uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439
100100

101+
- name: Configure poetry for local virtualenvs
102+
run: poetry config virtualenvs.in-project true
103+
104+
- name: Install server-ai dependency first
105+
working-directory: packages/sdk/server-ai
106+
run: poetry install
107+
101108
- name: Install requirements
102109
working-directory: packages/ai-providers/server-ai-langchain
103110
run: poetry install

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ packages = [{ include = "ldai_langchain", from = "src" }]
2424

2525
[tool.poetry.dependencies]
2626
python = ">=3.9,<4"
27-
launchdarkly-server-sdk-ai = ">=0.10.1"
27+
launchdarkly-server-sdk-ai = { path = "../../sdk/server-ai", develop = true }
2828
langchain-core = ">=0.2.0"
2929
langchain = ">=0.2.0"
3030

0 commit comments

Comments
 (0)