Skip to content

Commit 259e92c

Browse files
authored
Merge pull request #54 from CopilotKit/fix/native-python-agent
fix: remove agent from pnpm workspace to fix Render build
2 parents fb2c361 + 70f9184 commit 259e92c

File tree

5 files changed

+16
-974
lines changed

5 files changed

+16
-974
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ on:
1010

1111
jobs:
1212
smoke:
13-
name: Smoke / ${{ matrix.os }} / Node ${{ matrix.node }} / Python ${{ matrix.python }}
13+
name: Smoke / ${{ matrix.os }} / Node ${{ matrix.node }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
1919
node: [22, 24]
20-
python: [3.12, 3.13]
2120

2221
steps:
2322
- name: Checkout
@@ -28,22 +27,9 @@ jobs:
2827
with:
2928
node-version: ${{ matrix.node }}
3029

31-
- name: Setup Python
32-
uses: actions/setup-python@v4
33-
with:
34-
python-version: ${{ matrix.python }}
35-
3630
- name: Install pnpm
3731
uses: pnpm/action-setup@v4
3832

39-
- name: Install uv
40-
uses: astral-sh/setup-uv@v4
41-
with:
42-
enable-cache: true
43-
44-
- name: Configure uv to use matrix Python version
45-
run: echo "UV_PYTHON=python${{ matrix.python }}" >> $GITHUB_ENV
46-
4733
- name: Install dependencies (monorepo)
4834
run: pnpm install
4935

@@ -75,8 +61,9 @@ jobs:
7561
fi
7662
done
7763
78-
# Clean up background process
64+
# Clean up background process (ignore SIGTERM exit code from pnpm)
7965
kill $FRONTEND_PID 2>/dev/null || true
66+
wait $FRONTEND_PID 2>/dev/null || true
8067
8168
if [ "$started" = false ]; then
8269
echo "❌ Frontend failed to start within 30 seconds"
@@ -127,19 +114,9 @@ jobs:
127114
with:
128115
node-version: 22
129116

130-
- name: Setup Python
131-
uses: actions/setup-python@v4
132-
with:
133-
python-version: 3.12
134-
135117
- name: Install pnpm
136118
uses: pnpm/action-setup@v4
137119

138-
- name: Install uv
139-
uses: astral-sh/setup-uv@v4
140-
with:
141-
enable-cache: true
142-
143120
- name: Install dependencies
144121
run: pnpm install
145122

apps/agent/package.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "copilotkit-langgraph-template",
33
"private": true,
44
"scripts": {
5-
"dev": "turbo run dev",
6-
"dev:app": "turbo run dev --filter='app'",
7-
"dev:agent": "turbo run dev --filter='agent'",
8-
"dev:mcp": "turbo run dev --filter='mcp'",
5+
"dev": "concurrently \"turbo run dev\" \"pnpm run dev:agent\" --names turbo,agent --kill-others",
6+
"dev:app": "turbo run dev --filter='@repo/app'",
7+
"dev:agent": "cd apps/agent && uv sync && uv run uvicorn main:app --host 0.0.0.0 --port 8123 --reload",
8+
"dev:mcp": "turbo run dev --filter='open-generative-ui-mcp'",
99
"build": "turbo run build",
1010
"lint": "turbo run lint",
1111
"clean": "turbo run clean"

0 commit comments

Comments
 (0)