Skip to content

Commit

Permalink
Working on Open Procedures recall
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Aug 20, 2023
1 parent bd2252f commit 691038c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.**"

Expand Down

0 comments on commit 691038c

Please sign in to comment.