From b6d16ceba7a3ea60074f33a296234e347a2c2135 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sat, 27 Apr 2024 06:06:07 +0000 Subject: [PATCH] Fix message --- api-embed-node/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-embed-node/main.py b/api-embed-node/main.py index 3b9d536..2c625a2 100644 --- a/api-embed-node/main.py +++ b/api-embed-node/main.py @@ -52,7 +52,8 @@ def on_message(ws, raw): "emb_dense": emb_dense.tobytes(), "emb_sparse": convert_dict(emb_sparse), } - ) + ), + opcode=websocket.ABNF.OPCODE_BINARY, )