mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
chore: uptick
This commit is contained in:
parent
1218994992
commit
fab4d8d470
3 changed files with 10 additions and 6 deletions
|
|
@ -1,12 +1,18 @@
|
|||
import json
|
||||
import signal
|
||||
import sys
|
||||
|
||||
from tui_gateway.server import handle_request, resolve_skin
|
||||
|
||||
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
||||
|
||||
|
||||
def _write(obj: dict):
|
||||
sys.stdout.write(json.dumps(obj) + "\n")
|
||||
sys.stdout.flush()
|
||||
try:
|
||||
sys.stdout.write(json.dumps(obj) + "\n")
|
||||
sys.stdout.flush()
|
||||
except BrokenPipeError:
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
'use strict'
|
||||
|
||||
import React from 'react'
|
||||
import { render } from 'ink'
|
||||
|
||||
import { App } from './app.js'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
'use strict'
|
||||
|
||||
import React from 'react'
|
||||
import { render } from 'ink'
|
||||
|
||||
import { App } from './app.js'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue