From 6f540fc07c3278f2187b90ed82510f289d13428f Mon Sep 17 00:00:00 2001 From: Shiven Mian Date: Sat, 17 Feb 2024 05:44:32 -0800 Subject: [PATCH] feat: add Teach Mode args --- 01OS/start.sh | 6 ++++++ README.md | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/01OS/start.sh b/01OS/start.sh index 0918533..edbb9f7 100755 --- a/01OS/start.sh +++ b/01OS/start.sh @@ -36,6 +36,12 @@ if [[ "$@" == *"--server"* ]]; then export SERVER_START="True" fi +# Check if "--teach" is passed as an argument +if [[ "$@" == *"--teach"* ]]; then + # If "--teach" is passed, set TEACH_MODE to True + export TEACH_MODE="True" +fi + # Check if "--client" is passed as an argument if [[ "$@" == *"--client"* ]]; then # If "--client" is passed, set CLIENT_START to True diff --git a/README.md b/README.md index d859ea7..fd5fdb3 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,10 @@ The `--local` flag will install and run the [whisper.cpp](https://github.com/gge 01 --local --server --expose # Expose a local server ``` +**Teach Mode (experimental)** + +Running `01 --teach` runs 01 in teach mode, where you can add your own skills for Open Interpreter to use, through an easy-to-follow GUI. +
## Setup for development: