feat: add single-call action protocol and Android stage interfaces
This commit is contained in:
@@ -55,7 +55,7 @@ with tempfile.TemporaryDirectory(prefix='reply-structure-') as d:
|
||||
print(json.dumps({'status':'passed' if passed else 'failed','results':rows,'live_configuration_changed':False,'real_weights_verified':False}))
|
||||
raise SystemExit(0 if passed else 1)
|
||||
'''
|
||||
bundle={name:base64.b64encode((root/'gateway'/name).read_bytes()).decode() for name in ('llm_provider.py','reply_emotion.py')}
|
||||
bundle={name:base64.b64encode((root/'gateway'/name).read_bytes()).decode() for name in ('llm_provider.py','reply_emotion.py','server_clock.py','action_reply.py')}
|
||||
payload='bundle='+repr(bundle)+'\ncore='+repr(CORE)+'\n'+REMOTE
|
||||
r=subprocess.run(['ssh','-o','BatchMode=yes','-o','ConnectTimeout=5','gorios-spark-2@192.168.31.61','cd /home/gorios-spark-2/lan-voice && exec .venv/bin/python -'],input=payload.encode(),capture_output=True,timeout=150)
|
||||
if r.stdout:
|
||||
|
||||
Reference in New Issue
Block a user