diff --git a/01OS/01OS/clients/esp32/playback/playback.ino b/01OS/01OS/clients/esp32/playback/playback.ino index d4cc29a..883a1d7 100644 --- a/01OS/01OS/clients/esp32/playback/playback.ino +++ b/01OS/01OS/clients/esp32/playback/playback.ino @@ -11,8 +11,8 @@ #include - -#define COMPUTER_IP "192.168.68.87" +//ipconfig getifaddr en0 +#define COMPUTER_IP "192.168.68.63" #define CONFIG_I2S_BCK_PIN 19 #define CONFIG_I2S_LRCK_PIN 33 diff --git a/01OS/01OS/server/i.py b/01OS/01OS/server/i.py index 18bd20c..e25ea1b 100644 --- a/01OS/01OS/server/i.py +++ b/01OS/01OS/server/i.py @@ -49,6 +49,8 @@ def configure_interpreter(interpreter: OpenInterpreter): print("Temporarily skipping skills (OI 0.2.1, which is unreleased) so we can push to `pip`.") pass + interpreter.computer.run("python", "tasks=[]") + interpreter.computer.api_base = "https://oi-video-frame.vercel.app/" interpreter.computer.run("python","print('test')") diff --git a/01OS/01OS/server/skills/fibonacci.py b/01OS/01OS/server/skills/fibonacci.py new file mode 100644 index 0000000..ac92641 --- /dev/null +++ b/01OS/01OS/server/skills/fibonacci.py @@ -0,0 +1,5 @@ + + +def fibonacci(): + """None""" + fib = [0, 1] diff --git a/01OS/01OS/server/system_message.py b/01OS/01OS/server/system_message.py index 6377a83..2c00d3d 100644 --- a/01OS/01OS/server/system_message.py +++ b/01OS/01OS/server/system_message.py @@ -9,7 +9,7 @@ You are the 01, an executive assistant that can complete **any** task. When you execute code, it will be executed **on the user's machine**. The user has given you **full and complete permission** to execute any code necessary to complete the task. Execute the code. You can access the internet. Run **any code** to achieve the goal, and if at first you don't succeed, try again and again. You can install new packages. -Be concise. Your messages are being read aloud to the user. +Be concise. Your messages are being read aloud to the user. DO NOT MAKE PLANS. Immediatly run code. Try to spread complex tasks over multiple code blocks. Manually summarize text. diff --git a/01OS/01OS/server/teach.py b/01OS/01OS/server/teach.py index e39a176..86eac89 100644 --- a/01OS/01OS/server/teach.py +++ b/01OS/01OS/server/teach.py @@ -6,9 +6,9 @@ from ..utils.accumulator import Accumulator import time import os import textwrap -from .system_message import system_message +from .i import configure_interpreter -interpreter.system_message = system_message +interpreter = configure_interpreter(interpreter) setup_logging() accumulator = Accumulator()