Log node request processing so operators can see live activity in the console.

This commit is contained in:
Dobromir Popov
2026-07-07 18:12:57 +02:00
parent 1eb1e0baa2
commit aba5fb12fa
4 changed files with 65 additions and 6 deletions

View File

@@ -164,6 +164,9 @@ class RelayHttpBridge:
path = str(payload.get("path") or "/")
headers = payload.get("headers") if isinstance(payload.get("headers"), dict) else {}
req_suffix = f" request_id={request_id}" if request_id else ""
print(f" [node] relay {method} {path}{req_suffix}", flush=True)
# body_base64 carries binary data (e.g. bfloat16 activation tensors) safely.
# Fallback to text "body" for backward-compat with non-binary requests.
body_b64 = payload.get("body_base64")