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.
9 lines
157 B
JSON
Generated
9 lines
157 B
JSON
Generated
{
|
|
"slug": "langgraph-python",
|
|
"name": "LangGraph Python",
|
|
"language": "python",
|
|
"agentDir": "src/agents",
|
|
"agentPort": 8123,
|
|
"generated": true
|
|
}
|