Skip to content

Commit

Permalink
Merge pull request OpenInterpreter#8 from nirvor/main
Browse files Browse the repository at this point in the history
Update interpreter.py - windows file system adjustment (will add .toml after this and reinstate readline import in interpreter.py)

Former-commit-id: 47fc0a2
Former-commit-id: cfbc32c455f8f58570e61fcd7000477cb1563baa
Former-commit-id: c812410334077ea5e126962392f212143a85c598 [formerly aca7a2b057bcbc303ce115af59d5c9e5d06ae63e]
Former-commit-id: cdfff3cbf2c5e6044375e0ba06118165c181a349
  • Loading branch information
KillianLucas authored Aug 13, 2023
2 parents a856ac0 + b5e7385 commit f737f87
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion interpreter/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
import openai
import getpass
import requests
import readline
try:
if platform.system() == 'Windows':
import pyreadline3 as readline
else:
import readline
except ImportError:
print("Windows file system detected, please pip install pyreadline3.")
import urllib.parse
import tokentrim as tt
from rich import print
Expand Down

0 comments on commit f737f87

Please sign in to comment.