The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tui_gateway): forward a compute-host control.error code only when set
kshitijk4poord0b786f3543e
diff --git a/tui_gateway/compute_host.py b/tui_gateway/compute_host.pyindex 62a7c244515..d425fff96af 100644--- a/tui_gateway/compute_host.py+++ b/tui_gateway/compute_host.py@@ -436,7 +436,8 @@ class ComputeHost:else:ack = self._control_ack(server, frame, session)if "error" in ack:- self._reply("control.error", sid, request_id, message=ack["error"], code=ack.get("code"))+ self._reply("control.error", sid, request_id, message=ack["error"],+ **({"code": c} if (c := ack.get("code")) else {}))else:self._reply("control.ack", sid, request_id, route_name=route_name, **ack)