Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/agent_comms/registry/thread_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ class CliTransportMode(StrEnum):
ZMQ_TCP = "zmq_tcp"
DIRECT_SOCKET = "direct_socket"

def zmq_transport_name(self) -> str:
"""Return the ``zmqruntime.TransportMode`` value string for this CLI transport."""
return "tcp" if self is CliTransportMode.ZMQ_TCP else "ipc"


@dataclass(frozen=True)
class ThreadConfig(ConfigurationRecord):
Expand Down
Loading
Loading