Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FunAudioLLM/Fun-Audio-Chat
/ encode_handshake
Function
encode_handshake
web_demo/server/protocal.py:36–37 ·
view source on GitHub ↗
(version: int = 0, model: int = 0)
Source
from the content-addressed store, hash-verified
34
35
36
def
encode_handshake(version: int = 0, model: int = 0) -> bytes:
37
return
bytes([MessageType.HANDSHAKE, version, model])
38
39
40
def
decode_message(data: bytes) -> dict:
Callers
1
handle_chat
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected