mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
bidirectional wrapper
This commit is contained in:
parent
3adf1dc20e
commit
fd41ddf733
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def mp_rank_0() -> bool:
|
||||||
|
|
||||||
|
|
||||||
def encode_msg(msg: ProcessingMessage) -> bytes:
|
def encode_msg(msg: ProcessingMessage) -> bytes:
|
||||||
return msg.model_dump_json().encode("utf-8")
|
return ProcessingMessageWrapper(payload=msg).model_dump_json().encode("utf-8")
|
||||||
|
|
||||||
|
|
||||||
def retrieve_requests(reply_socket_url: str):
|
def retrieve_requests(reply_socket_url: str):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue