mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:16:30 +00:00
Errors sending to UI
notifying client of AI model conversion
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
cdef enum CommandType:
|
||||
LOGIN = 10
|
||||
LOAD = 20
|
||||
DATA_BYTES = 25
|
||||
INFERENCE = 30
|
||||
INFERENCE_DATA = 35
|
||||
STOP_INFERENCE = 40
|
||||
AI_AVAILABILITY_CHECK = 80,
|
||||
AI_AVAILABILITY_RESULT = 85,
|
||||
ERROR = 90
|
||||
EXIT = 100
|
||||
|
||||
cdef class RemoteCommand:
|
||||
cdef public bytes client_id
|
||||
cdef CommandType command_type
|
||||
cdef str message
|
||||
cdef bytes data
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user