diff --git a/docker/start_all.sh b/docker/start_all.sh index e8cb706..7a14c7a 100755 --- a/docker/start_all.sh +++ b/docker/start_all.sh @@ -43,11 +43,11 @@ then fi echo "start kernel.." -cd ${ROOT_DIR}/kernel && hap run -n octogen_kernel -- og_kernel_rpc_server >> ${ROOT_DIR}/logs/kernel_rpc.log 2>&1 +cd ${ROOT_DIR}/kernel && hap run -n octogen_kernel -- og_kernel_rpc_server >> ${ROOT_DIR}/kernel/logs/kernel_rpc.log 2>&1 echo "start agent.." -cd ${ROOT_DIR}/agent && hap run -n octogen_agent -- og_agent_rpc_server >> ${ROOT_DIR}/logs/agent_rpc.log 2>&1 -cd ${ROOT_DIR}/agent && hap run -n octogen_api -- og_agent_http_server >> ${ROOT_DIR}/logs/agent_http.log 2>&1 +cd ${ROOT_DIR}/agent && hap run -n octogen_agent -- og_agent_rpc_server >> ${ROOT_DIR}/agent/logs/agent_rpc.log 2>&1 +cd ${ROOT_DIR}/agent && hap run -n octogen_api -- og_agent_http_server >> ${ROOT_DIR}/agent/logs/agent_http.log 2>&1 while true do diff --git a/up/src/og_up/up.py b/up/src/og_up/up.py index 32b36ed..e0082e7 100644 --- a/up/src/og_up/up.py +++ b/up/src/og_up/up.py @@ -35,13 +35,11 @@ Welcome to use {OCTOGEN_TITLE} """ - def random_str(n): # generating random strings res = "".join(random.choices(string.ascii_uppercase + string.digits, k=n)) return str(res) - def run_install_cli(live, segments): """ Install the octogen chat cli @@ -69,7 +67,6 @@ def run_install_cli(live, segments): refresh(live, segments) return False - def refresh( live, segments,