mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
695c945d3e
The langgraph-python starter crashes on Railway because of a directory structure mismatch: agents were in agent/ with langgraph.json inside agent/, causing langgraph_cli to fail resolving module paths. Match the demo package's working layout: - Move agents from agent/ to src/agents/ (same as demo) - Put langgraph.json at project root (same as demo) - Point entrypoint at root langgraph.json instead of agent/langgraph.json - Templatize Dockerfile.python with AGENT_DIR and DOCKER_EXTRA_COPY vars - Skip langgraph.json path rewriting when agentDir matches agentSourceDir - Update tests to use framework agentDir instead of hardcoding "agent" Regenerate all 17 starters.
33 lines
923 B
JSON
Generated
33 lines
923 B
JSON
Generated
{
|
|
"name": "copilotkit-showcase-langgraph-python",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "concurrently \"next dev --turbopack\" \"python -m langgraph_cli dev --config langgraph.json --host 0.0.0.0 --port 8123 --no-browser\"",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@copilotkit/a2ui-renderer": "next",
|
|
"@copilotkit/react-core": "next",
|
|
"@copilotkit/runtime": "next",
|
|
"@hashbrownai/core": "0.5.0-beta.4",
|
|
"@hashbrownai/react": "0.5.0-beta.4",
|
|
"next": "^15.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"recharts": "^2.15.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"concurrently": "^9.1.0",
|
|
"postcss": "^8.5.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|