We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8acaeb9 + 4ffd3e0 commit ea89761Copy full SHA for ea89761
railway.toml
@@ -0,0 +1,10 @@
1
+[build]
2
+builder = "DOCKERFILE"
3
+dockerfilePath = "./Dockerfile"
4
+
5
+[deploy]
6
+startCommand = "python -m swe_af"
7
+healthcheckPath = "/health"
8
+healthcheckTimeout = 120
9
+restartPolicyType = "ON_FAILURE"
10
+restartPolicyMaxRetries = 5
swe_af/app.py
@@ -27,6 +27,7 @@
27
version="1.0.0",
28
description="Autonomous SWE planning pipeline",
29
agentfield_server=os.getenv("AGENTFIELD_SERVER", "http://localhost:8080"),
30
+ api_key=os.getenv("AGENTFIELD_API_KEY"),
31
)
32
33
app.include_router(router)
0 commit comments