Skip to content

Commit ea89761

Browse files
Merge remote-tracking branch 'origin/main'
2 parents 8acaeb9 + 4ffd3e0 commit ea89761

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

railway.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
version="1.0.0",
2828
description="Autonomous SWE planning pipeline",
2929
agentfield_server=os.getenv("AGENTFIELD_SERVER", "http://localhost:8080"),
30+
api_key=os.getenv("AGENTFIELD_API_KEY"),
3031
)
3132

3233
app.include_router(router)

0 commit comments

Comments
 (0)