mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
tcloud compatibility, dotnet bug fixes
This commit is contained in:
2
thirdparty/train_api.py
vendored
2
thirdparty/train_api.py
vendored
@@ -197,6 +197,7 @@ class TrainServer(BaseHTTPRequestHandler):
|
||||
|
||||
journeys = self.generate_journeys(origin, destination, out_dt, ret_dt)
|
||||
response = self.format_json({"journeys": journeys})
|
||||
|
||||
self.write_response(response)
|
||||
|
||||
except Exception as e:
|
||||
@@ -228,6 +229,7 @@ class TrainServer(BaseHTTPRequestHandler):
|
||||
"status": "confirmed",
|
||||
}
|
||||
)
|
||||
|
||||
self.write_response(response)
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user