From 691038cd285d19c330a0c92ec6dc0d3a7a84e6d5 Mon Sep 17 00:00:00 2001 From: KillianLucas <63927363+KillianLucas@users.noreply.github.com> Date: Sun, 20 Aug 2023 02:58:39 +0000 Subject: [PATCH] Working on Open Procedures recall --- interpreter/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/interpreter.py b/interpreter/interpreter.py index b66c5af451..8fd823072d 100644 --- a/interpreter/interpreter.py +++ b/interpreter/interpreter.py @@ -114,7 +114,7 @@ def get_info_for_system_message(self): query = query[-2000:] # Use them to query Open Procedures - url = f"https://open-procedures.killianlucas1.repl.co/search/?query={query}" + url = f"https://open-procedures.replit.app/search/?query={query}" relevant_procedures = requests.get(url).json()["procedures"] info += "\n\n# Recommended Procedures\n" + "\n---\n".join(relevant_procedures) + "\nIn your plan, include steps and, if present, **EXACT CODE SNIPPETS** (especially for depracation notices, **WRITE THEM INTO YOUR PLAN -- underneath each numbered step** as they will VANISH once you execute your first line of code, so WRITE THEM DOWN NOW if you need them) from the above procedures if they are relevant to the task. Again, include **VERBATIM CODE SNIPPETS** from the procedures above if they are relevent to the task **directly in your plan.**"