Files
annotations/Azaion.AI/remote_command.pxd
T
Alex Bezdieniezhnykh 739759628a fixed inference bugs
add DONE during inference, correct handling on C# side
2025-02-01 02:09:11 +02:00

16 lines
301 B
Cython

cdef enum CommandType:
GET_USER = 10
LOAD = 20
INFERENCE = 30
STOP_INFERENCE = 40
EXIT = 100
cdef class RemoteCommand:
cdef public bytes client_id
cdef CommandType command_type
cdef str filename
cdef bytes data
@staticmethod
cdef from_msgpack(bytes data)