From 899c61b85b6eeddab7f2e93ebd97b82fc580c98a Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Sat, 27 Jan 2024 23:59:57 -0800 Subject: [PATCH] Lowered Python requirement --- OS/01/core/interpreter/conversations/user.json | 1 - OS/01/core/interpreter/start.py | 2 +- OS/01/core/pyproject.toml | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/OS/01/core/interpreter/conversations/user.json b/OS/01/core/interpreter/conversations/user.json index 634874b..e69de29 100644 --- a/OS/01/core/interpreter/conversations/user.json +++ b/OS/01/core/interpreter/conversations/user.json @@ -1 +0,0 @@ -[{"role": "user", "type": "message", "content": "uh"}, {"role": "assistant", "type": "message", "content": "Hello! How can I assist you today?"}, {"role": "user", "type": "message", "content": "hello"}, {"role": "assistant", "type": "message", "content": "Hi there! What can I help you with today? Can we start by planning your day or there's something specific you have in mind?"}, {"role": "user", "type": "message", "content": "hi"}, {"role": "assistant", "type": "message", "content": "Hello! How can I assist you today? If you have any tasks or schedule to plan for the day, feel free to tell me."}, {"role": "user", "type": "message", "content": "what time is it"}, {"role": "assistant", "type": "message", "content": "I apologize for any inconvenience this might cause, but as an AI, I don't possess real-time capabilities. However, you can check the current time on the device you're using to interact with me. Is there anything else you need assistance with?"}] \ No newline at end of file diff --git a/OS/01/core/interpreter/start.py b/OS/01/core/interpreter/start.py index 9b7ba69..323f42f 100644 --- a/OS/01/core/interpreter/start.py +++ b/OS/01/core/interpreter/start.py @@ -43,7 +43,7 @@ Remember: You can run Python code. """.strip() -interpreter.system_message = system_message +interpreter.custom_instructions = system_message ### TOOLS diff --git a/OS/01/core/pyproject.toml b/OS/01/core/pyproject.toml index b40e09a..83a615e 100644 --- a/OS/01/core/pyproject.toml +++ b/OS/01/core/pyproject.toml @@ -6,10 +6,10 @@ authors = ["Open Interpreter "] license = "AGPL" [tool.poetry.dependencies] -python = "^3.11" +python = "^3.10" open-interpreter = "^0.2.0" uvicorn = {extras = ["standard"], version = "^0.27.0"} -fastapi = "^0.109.0" +fastapi = "*" [build-system]