Open Abdullah-Gohar opened 5 months ago
Hi @Abdullah-Gohar! Thanks for this PR, I think we might want to solve this issue in another way though. Some folks might want to run a lightweight Open Interpreter in Python without the computer API (I think we should remove reference to it in the system message for this reason, so it won't try to use it unless it has access to it).
We could make it simply print instructions for importing the computer API (initializing interpreter with interpreter = OpenInterpreter(import_computer_api=True)
) if "computer" is spotted in the code, and import_computer_api
is False
. Do you think those solutions would work?
Changed one of the conditional statements to account for the import of computer module.
Fixes #1225
Pre-Submission Checklist (optional but appreciated):
docs/CONTRIBUTING.md
docs/ROADMAP.md
OS Tests (optional but appreciated):