Skip to content

Commit d478d21

Browse files
committed
interactive
1 parent 78b4366 commit d478d21

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

agents/matlab/matlab_agent/src/core/interactive.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
logger = get_logger()
2222

2323

24-
# ---------------------------------------------------------------------------
25-
# RabbitMQ frame parser
26-
# ---------------------------------------------------------------------------
27-
2824
def _parse_frame(body: bytes) -> Dict[str, Any]:
2925
"""Decode a YAML frame received from RabbitMQ."""
3026
try:
@@ -34,10 +30,6 @@ def _parse_frame(body: bytes) -> Dict[str, Any]:
3430
return {}
3531

3632

37-
# ---------------------------------------------------------------------------
38-
# TCP server utilities
39-
# ---------------------------------------------------------------------------
40-
4133
class _TcpServer:
4234
def __init__(self, host: str, port: int) -> None:
4335
self.host = host
@@ -101,10 +93,6 @@ def close(self) -> None:
10193
self.matlab_proc.kill()
10294

10395

104-
# ---------------------------------------------------------------------------
105-
# Controller
106-
# ---------------------------------------------------------------------------
107-
10896
class MatlabInteractiveController:
10997
def __init__(
11098
self,
@@ -183,7 +171,6 @@ def _relay(self, payload: Dict[str, Any]) -> None:
183171
"""Relay a response from the MATLAB process to the broker
184172
including the full simulation output."""
185173

186-
# Costruiamo il messaggio base con l’utility già esistente
187174
msg = create_response(
188175
"interactive",
189176
self.sim_file,

0 commit comments

Comments
 (0)