Guest User

Untitled

a guest
Apr 26th, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.25 KB | None | 0 0
  1. C:\WINDOWS\system32>pip install pywin32
  2. Requirement already satisfied: pywin32 in c:\python312\lib\site-packages (306)
  3.  
  4. C:\WINDOWS\system32>interpreter --api_base "https://api.groq.com/openai/v1" --api_key "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" --model "llama3-70b-8192" --context_window 8192 --os
  5. C:\Python312\Lib\site-packages\pydantic\_internal\_fields.py:160: UserWarning: Field "model_name" has conflict with protected namespace "model_".
  6.  
  7. You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  8. warnings.warn(
  9. C:\Python312\Lib\site-packages\pydantic\_internal\_fields.py:160: UserWarning: Field "model_info" has conflict with protected namespace "model_".
  10.  
  11. You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  12. warnings.warn(
  13.  
  14. ▌ Missing Package(s): plyer, pyautogui, pyperclip, pywinctl
  15.  
  16. These packages are required for OS Control.
  17.  
  18. Install them?
  19.  
  20. (y/n) > y
  21. Microsoft Windows [Version 10.0.19045.4291]
  22. (c) Microsoft Corporation. All rights reserved.
  23.  
  24. C:\WINDOWS\system32>echo ""
  25. ""
  26.  
  27. C:\WINDOWS\system32>pip install open-interpreter[os]
  28. Requirement already satisfied: open-interpreter[os] in c:\python312\lib\site-packages (0.2.5)
  29. Requirement already satisfied: aifs<0.0.16,>=0.0.15 in c:\python312\lib\site-packages (from open-interpreter[os]) (0.0.15)
  30. Requirement already satisfied: astor<0.9.0,>=0.8.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (0.8.1)
  31. Requirement already satisfied: fastapi<0.111.0,>=0.110.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (0.110.2)
  32. Requirement already satisfied: git-python<2.0.0,>=1.0.3 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (1.0.3)
  33. Requirement already satisfied: html2image<3.0.0.0,>=2.0.4.3 in c:\python312\lib\site-packages (from open-interpreter[os]) (2.0.4.3)
  34. Requirement already satisfied: inquirer<4.0.0,>=3.1.3 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (3.1.4)
  35. Requirement already satisfied: ipykernel<7.0.0,>=6.26.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (6.29.2)
  36. Collecting ipywidgets<9.0.0,>=8.1.2 (from open-interpreter[os])
  37. Downloading ipywidgets-8.1.2-py3-none-any.whl.metadata (2.4 kB)
  38. Requirement already satisfied: jupyter-client<9.0.0,>=8.6.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (8.6.0)
  39. Requirement already satisfied: litellm<2.0.0,>=1.34.38 in c:\python312\lib\site-packages (from open-interpreter[os]) (1.35.29)
  40. Requirement already satisfied: matplotlib<4.0.0,>=3.8.2 in c:\python312\lib\site-packages (from open-interpreter[os]) (3.8.4)
  41. Requirement already satisfied: nltk<4.0.0,>=3.8.1 in c:\python312\lib\site-packages (from open-interpreter[os]) (3.8.1)
  42. Requirement already satisfied: opencv-python<5.0.0.0,>=4.8.1.78 in c:\python312\lib\site-packages (from open-interpreter[os]) (4.9.0.80)
  43. Requirement already satisfied: platformdirs<5.0.0,>=4.2.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (4.2.0)
  44. Collecting plyer<3.0.0,>=2.1.0 (from open-interpreter[os])
  45. Using cached plyer-2.1.0-py2.py3-none-any.whl.metadata (61 kB)
  46. Requirement already satisfied: posthog<4.0.0,>=3.1.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (3.5.0)
  47. Requirement already satisfied: prompt-toolkit<4.0.0,>=3.0.43 in c:\python312\lib\site-packages (from open-interpreter[os]) (3.0.43)
  48. Requirement already satisfied: psutil<6.0.0,>=5.9.6 in c:\python312\lib\site-packages (from open-interpreter[os]) (5.9.8)
  49. Collecting pyautogui<0.10.0,>=0.9.54 (from open-interpreter[os])
  50. Using cached PyAutoGUI-0.9.54.tar.gz (61 kB)
  51. Installing build dependencies: started
  52. Installing build dependencies: finished with status 'done'
  53. Getting requirements to build wheel: started
  54. Getting requirements to build wheel: finished with status 'done'
  55. Installing backend dependencies: started
  56. Installing backend dependencies: finished with status 'done'
  57. Preparing metadata (pyproject.toml): started
  58. Preparing metadata (pyproject.toml): finished with status 'done'
  59. Requirement already satisfied: pydantic<3.0.0,>=2.6.4 in c:\python312\lib\site-packages (from open-interpreter[os]) (2.7.1)
  60. Requirement already satisfied: pyreadline3<4.0.0,>=3.4.1 in c:\python312\lib\site-packages (from open-interpreter[os]) (3.4.1)
  61. Collecting pytesseract<0.4.0,>=0.3.10 (from open-interpreter[os])
  62. Using cached pytesseract-0.3.10-py3-none-any.whl.metadata (11 kB)
  63. Collecting pywinctl<0.4,>=0.3 (from open-interpreter[os])
  64. Using cached PyWinCtl-0.3-py3-none-any.whl.metadata (16 kB)
  65. Requirement already satisfied: pyyaml<7.0.0,>=6.0.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (6.0.1)
  66. Requirement already satisfied: rich<14.0.0,>=13.4.2 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (13.7.0)
  67. Requirement already satisfied: screeninfo<0.9.0,>=0.8.1 in c:\python312\lib\site-packages (from open-interpreter[os]) (0.8.1)
  68. Requirement already satisfied: send2trash<2.0.0,>=1.8.2 in c:\python312\lib\site-packages (from open-interpreter[os]) (1.8.2)
  69. Collecting sentence-transformers<3.0.0,>=2.5.1 (from open-interpreter[os])
  70. Downloading sentence_transformers-2.7.0-py3-none-any.whl.metadata (11 kB)
  71. Requirement already satisfied: six<2.0.0,>=1.16.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (1.16.0)
  72. Requirement already satisfied: tiktoken<0.7.0,>=0.6.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (0.6.0)
  73. Collecting timm<0.10.0,>=0.9.16 (from open-interpreter[os])
  74. Downloading timm-0.9.16-py3-none-any.whl.metadata (38 kB)
  75. Requirement already satisfied: tokentrim<0.2.0,>=0.1.13 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from open-interpreter[os]) (0.1.13)
  76. Requirement already satisfied: toml<0.11.0,>=0.10.2 in c:\python312\lib\site-packages (from open-interpreter[os]) (0.10.2)
  77. Collecting torch<3.0.0,>=2.2.1 (from open-interpreter[os])
  78. Downloading torch-2.3.0-cp312-cp312-win_amd64.whl.metadata (26 kB)
  79. Requirement already satisfied: uvicorn<0.28.0,>=0.27.0 in c:\python312\lib\site-packages (from open-interpreter[os]) (0.27.1)
  80. Requirement already satisfied: wget<4.0,>=3.2 in c:\python312\lib\site-packages (from open-interpreter[os]) (3.2)
  81. Requirement already satisfied: starlette<0.38.0,>=0.37.2 in c:\python312\lib\site-packages (from fastapi<0.111.0,>=0.110.0->open-interpreter[os]) (0.37.2)
  82. Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from fastapi<0.111.0,>=0.110.0->open-interpreter[os]) (4.9.0)
  83. Requirement already satisfied: gitpython in c:\users\ivan\appdata\roaming\python\python312\site-packages (from git-python<2.0.0,>=1.0.3->open-interpreter[os]) (3.1.40)
  84. Requirement already satisfied: requests in c:\users\ivan\appdata\roaming\python\python312\site-packages (from html2image<3.0.0.0,>=2.0.4.3->open-interpreter[os]) (2.31.0)
  85. Requirement already satisfied: websocket-client<2.0.0,>=1.0.0 in c:\python312\lib\site-packages (from html2image<3.0.0.0,>=2.0.4.3->open-interpreter[os]) (1.7.0)
  86. Requirement already satisfied: blessed>=1.19.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from inquirer<4.0.0,>=3.1.3->open-interpreter[os]) (1.20.0)
  87. Requirement already satisfied: python-editor>=1.0.4 in c:\python312\lib\site-packages (from inquirer<4.0.0,>=3.1.3->open-interpreter[os]) (1.0.4)
  88. Requirement already satisfied: readchar>=3.0.6 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from inquirer<4.0.0,>=3.1.3->open-interpreter[os]) (4.0.5)
  89. Requirement already satisfied: comm>=0.1.1 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (0.2.1)
  90. Requirement already satisfied: debugpy>=1.6.5 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (1.8.1)
  91. Requirement already satisfied: ipython>=7.23.1 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (8.21.0)
  92. Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (5.7.1)
  93. Requirement already satisfied: matplotlib-inline>=0.1 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (0.1.6)
  94. Requirement already satisfied: nest-asyncio in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (1.6.0)
  95. Requirement already satisfied: packaging in c:\users\ivan\appdata\roaming\python\python312\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (23.2)
  96. Requirement already satisfied: pyzmq>=24 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (25.1.2)
  97. Requirement already satisfied: tornado>=6.1 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (6.4)
  98. Requirement already satisfied: traitlets>=5.4.0 in c:\python312\lib\site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (5.14.1)
  99. Collecting widgetsnbextension~=4.0.10 (from ipywidgets<9.0.0,>=8.1.2->open-interpreter[os])
  100. Downloading widgetsnbextension-4.0.10-py3-none-any.whl.metadata (1.6 kB)
  101. Collecting jupyterlab-widgets~=3.0.10 (from ipywidgets<9.0.0,>=8.1.2->open-interpreter[os])
  102. Downloading jupyterlab_widgets-3.0.10-py3-none-any.whl.metadata (4.1 kB)
  103. Requirement already satisfied: python-dateutil>=2.8.2 in c:\python312\lib\site-packages (from jupyter-client<9.0.0,>=8.6.0->open-interpreter[os]) (2.8.2)
  104. Requirement already satisfied: aiohttp in c:\users\ivan\appdata\roaming\python\python312\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (3.9.1)
  105. Requirement already satisfied: click in c:\users\ivan\appdata\roaming\python\python312\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (8.1.7)
  106. Requirement already satisfied: importlib-metadata>=6.8.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (7.0.1)
  107. Requirement already satisfied: jinja2<4.0.0,>=3.1.2 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (3.1.2)
  108. Requirement already satisfied: openai>=1.0.0 in c:\python312\lib\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.23.6)
  109. Requirement already satisfied: python-dotenv>=0.2.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.0.0)
  110. Requirement already satisfied: tokenizers in c:\users\ivan\appdata\roaming\python\python312\site-packages (from litellm<2.0.0,>=1.34.38->open-interpreter[os]) (0.15.0)
  111. Requirement already satisfied: contourpy>=1.0.1 in c:\python312\lib\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (1.2.1)
  112. Requirement already satisfied: cycler>=0.10 in c:\python312\lib\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (0.12.1)
  113. Requirement already satisfied: fonttools>=4.22.0 in c:\python312\lib\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (4.51.0)
  114. Requirement already satisfied: kiwisolver>=1.3.1 in c:\python312\lib\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (1.4.5)
  115. Requirement already satisfied: numpy>=1.21 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (1.26.4)
  116. Requirement already satisfied: pillow>=8 in c:\python312\lib\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (10.3.0)
  117. Requirement already satisfied: pyparsing>=2.3.1 in c:\python312\lib\site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter[os]) (3.1.2)
  118. Requirement already satisfied: joblib in c:\python312\lib\site-packages (from nltk<4.0.0,>=3.8.1->open-interpreter[os]) (1.4.0)
  119. Requirement already satisfied: regex>=2021.8.3 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from nltk<4.0.0,>=3.8.1->open-interpreter[os]) (2023.12.25)
  120. Requirement already satisfied: tqdm in c:\users\ivan\appdata\roaming\python\python312\site-packages (from nltk<4.0.0,>=3.8.1->open-interpreter[os]) (4.66.1)
  121. Requirement already satisfied: monotonic>=1.5 in c:\python312\lib\site-packages (from posthog<4.0.0,>=3.1.0->open-interpreter[os]) (1.6)
  122. Requirement already satisfied: backoff>=1.10.0 in c:\python312\lib\site-packages (from posthog<4.0.0,>=3.1.0->open-interpreter[os]) (2.2.1)
  123. Requirement already satisfied: wcwidth in c:\python312\lib\site-packages (from prompt-toolkit<4.0.0,>=3.0.43->open-interpreter[os]) (0.2.12)
  124. Collecting pymsgbox (from pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  125. Using cached PyMsgBox-1.0.9.tar.gz (18 kB)
  126. Installing build dependencies: started
  127. Installing build dependencies: finished with status 'done'
  128. Getting requirements to build wheel: started
  129. Getting requirements to build wheel: finished with status 'done'
  130. Installing backend dependencies: started
  131. Installing backend dependencies: finished with status 'done'
  132. Preparing metadata (pyproject.toml): started
  133. Preparing metadata (pyproject.toml): finished with status 'done'
  134. Collecting pytweening>=1.0.4 (from pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  135. Using cached pytweening-1.2.0.tar.gz (171 kB)
  136. Preparing metadata (setup.py): started
  137. Preparing metadata (setup.py): finished with status 'done'
  138. Collecting pyscreeze>=0.1.21 (from pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  139. Using cached PyScreeze-0.1.30.tar.gz (27 kB)
  140. Installing build dependencies: started
  141. Installing build dependencies: finished with status 'done'
  142. Getting requirements to build wheel: started
  143. Getting requirements to build wheel: finished with status 'done'
  144. Preparing metadata (pyproject.toml): started
  145. Preparing metadata (pyproject.toml): finished with status 'done'
  146. Collecting pygetwindow>=0.0.5 (from pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  147. Using cached PyGetWindow-0.0.9.tar.gz (9.7 kB)
  148. Preparing metadata (setup.py): started
  149. Preparing metadata (setup.py): finished with status 'done'
  150. Collecting mouseinfo (from pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  151. Using cached MouseInfo-0.1.3.tar.gz (10 kB)
  152. Preparing metadata (setup.py): started
  153. Preparing metadata (setup.py): finished with status 'done'
  154. Requirement already satisfied: annotated-types>=0.4.0 in c:\python312\lib\site-packages (from pydantic<3.0.0,>=2.6.4->open-interpreter[os]) (0.6.0)
  155. Requirement already satisfied: pydantic-core==2.18.2 in c:\python312\lib\site-packages (from pydantic<3.0.0,>=2.6.4->open-interpreter[os]) (2.18.2)
  156. Collecting pywinbox>=0.6 (from pywinctl<0.4,>=0.3->open-interpreter[os])
  157. Using cached PyWinBox-0.7-py3-none-any.whl.metadata (6.7 kB)
  158. Collecting pymonctl>=0.6 (from pywinctl<0.4,>=0.3->open-interpreter[os])
  159. Downloading PyMonCtl-0.92-py3-none-any.whl.metadata (12 kB)
  160. Requirement already satisfied: pywin32>=302 in c:\python312\lib\site-packages (from pywinctl<0.4,>=0.3->open-interpreter[os]) (306)
  161. Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from rich<14.0.0,>=13.4.2->open-interpreter[os]) (3.0.0)
  162. Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from rich<14.0.0,>=13.4.2->open-interpreter[os]) (2.17.2)
  163. Collecting transformers<5.0.0,>=4.34.0 (from sentence-transformers<3.0.0,>=2.5.1->open-interpreter[os])
  164. Downloading transformers-4.40.1-py3-none-any.whl.metadata (137 kB)
  165. -------------------------------------- 138.0/138.0 kB 8.0 MB/s eta 0:00:00
  166. Collecting scikit-learn (from sentence-transformers<3.0.0,>=2.5.1->open-interpreter[os])
  167. Downloading scikit_learn-1.4.2-cp312-cp312-win_amd64.whl.metadata (11 kB)
  168. Collecting scipy (from sentence-transformers<3.0.0,>=2.5.1->open-interpreter[os])
  169. Downloading scipy-1.13.0-cp312-cp312-win_amd64.whl.metadata (60 kB)
  170. ---------------------------------------- 60.6/60.6 kB ? eta 0:00:00
  171. Requirement already satisfied: huggingface-hub>=0.15.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from sentence-transformers<3.0.0,>=2.5.1->open-interpreter[os]) (0.17.3)
  172. Collecting torchvision (from timm<0.10.0,>=0.9.16->open-interpreter[os])
  173. Downloading torchvision-0.18.0-cp312-cp312-win_amd64.whl.metadata (6.6 kB)
  174. Collecting safetensors (from timm<0.10.0,>=0.9.16->open-interpreter[os])
  175. Downloading safetensors-0.4.3-cp312-none-win_amd64.whl.metadata (3.9 kB)
  176. Requirement already satisfied: filelock in c:\users\ivan\appdata\roaming\python\python312\site-packages (from torch<3.0.0,>=2.2.1->open-interpreter[os]) (3.13.1)
  177. Collecting sympy (from torch<3.0.0,>=2.2.1->open-interpreter[os])
  178. Using cached sympy-1.12-py3-none-any.whl.metadata (12 kB)
  179. Collecting networkx (from torch<3.0.0,>=2.2.1->open-interpreter[os])
  180. Downloading networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
  181. Requirement already satisfied: fsspec in c:\users\ivan\appdata\roaming\python\python312\site-packages (from torch<3.0.0,>=2.2.1->open-interpreter[os]) (2023.12.2)
  182. Collecting mkl<=2021.4.0,>=2021.1.1 (from torch<3.0.0,>=2.2.1->open-interpreter[os])
  183. Downloading mkl-2021.4.0-py2.py3-none-win_amd64.whl.metadata (1.4 kB)
  184. Requirement already satisfied: h11>=0.8 in c:\python312\lib\site-packages (from uvicorn<0.28.0,>=0.27.0->open-interpreter[os]) (0.14.0)
  185. Requirement already satisfied: jinxed>=1.1.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from blessed>=1.19.0->inquirer<4.0.0,>=3.1.3->open-interpreter[os]) (1.2.1)
  186. Requirement already satisfied: colorama in c:\users\ivan\appdata\roaming\python\python312\site-packages (from click->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (0.4.6)
  187. Requirement already satisfied: zipp>=0.5 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from importlib-metadata>=6.8.0->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (3.17.0)
  188. Requirement already satisfied: decorator in c:\python312\lib\site-packages (from ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (5.1.1)
  189. Requirement already satisfied: jedi>=0.16 in c:\python312\lib\site-packages (from ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (0.19.1)
  190. Requirement already satisfied: stack-data in c:\python312\lib\site-packages (from ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (0.6.3)
  191. Requirement already satisfied: MarkupSafe>=2.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from jinja2<4.0.0,>=3.1.2->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (2.1.3)
  192. Requirement already satisfied: mdurl~=0.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from markdown-it-py>=2.2.0->rich<14.0.0,>=13.4.2->open-interpreter[os]) (0.1.2)
  193. Collecting intel-openmp==2021.* (from mkl<=2021.4.0,>=2021.1.1->torch<3.0.0,>=2.2.1->open-interpreter[os])
  194. Downloading intel_openmp-2021.4.0-py2.py3-none-win_amd64.whl.metadata (1.2 kB)
  195. Collecting tbb==2021.* (from mkl<=2021.4.0,>=2021.1.1->torch<3.0.0,>=2.2.1->open-interpreter[os])
  196. Downloading tbb-2021.12.0-py3-none-win_amd64.whl.metadata (1.1 kB)
  197. Requirement already satisfied: anyio<5,>=3.5.0 in c:\python312\lib\site-packages (from openai>=1.0.0->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (4.2.0)
  198. Requirement already satisfied: distro<2,>=1.7.0 in c:\python312\lib\site-packages (from openai>=1.0.0->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.9.0)
  199. Requirement already satisfied: httpx<1,>=0.23.0 in c:\python312\lib\site-packages (from openai>=1.0.0->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (0.26.0)
  200. Requirement already satisfied: sniffio in c:\python312\lib\site-packages (from openai>=1.0.0->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.3.0)
  201. Collecting pyrect (from pygetwindow>=0.0.5->pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  202. Using cached PyRect-0.2.0.tar.gz (17 kB)
  203. Preparing metadata (setup.py): started
  204. Preparing metadata (setup.py): finished with status 'done'
  205. Requirement already satisfied: setuptools>=41.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from readchar>=3.0.6->inquirer<4.0.0,>=3.1.3->open-interpreter[os]) (69.0.3)
  206. Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from requests->html2image<3.0.0.0,>=2.0.4.3->open-interpreter[os]) (3.3.2)
  207. Requirement already satisfied: idna<4,>=2.5 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from requests->html2image<3.0.0.0,>=2.0.4.3->open-interpreter[os]) (3.6)
  208. Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from requests->html2image<3.0.0.0,>=2.0.4.3->open-interpreter[os]) (2.1.0)
  209. Requirement already satisfied: certifi>=2017.4.17 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from requests->html2image<3.0.0.0,>=2.0.4.3->open-interpreter[os]) (2023.11.17)
  210. Collecting huggingface-hub>=0.15.1 (from sentence-transformers<3.0.0,>=2.5.1->open-interpreter[os])
  211. Downloading huggingface_hub-0.22.2-py3-none-any.whl.metadata (12 kB)
  212. Collecting tokenizers (from litellm<2.0.0,>=1.34.38->open-interpreter[os])
  213. Downloading tokenizers-0.19.1-cp312-none-win_amd64.whl.metadata (6.9 kB)
  214. Requirement already satisfied: attrs>=17.3.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from aiohttp->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (23.1.0)
  215. Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from aiohttp->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (6.0.4)
  216. Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from aiohttp->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.9.4)
  217. Requirement already satisfied: frozenlist>=1.1.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from aiohttp->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.4.1)
  218. Requirement already satisfied: aiosignal>=1.1.2 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from aiohttp->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.3.1)
  219. Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from gitpython->git-python<2.0.0,>=1.0.3->open-interpreter[os]) (4.0.11)
  220. Collecting pyperclip (from mouseinfo->pyautogui<0.10.0,>=0.9.54->open-interpreter[os])
  221. Using cached pyperclip-1.8.2.tar.gz (20 kB)
  222. Preparing metadata (setup.py): started
  223. Preparing metadata (setup.py): finished with status 'done'
  224. Collecting threadpoolctl>=2.0.0 (from scikit-learn->sentence-transformers<3.0.0,>=2.5.1->open-interpreter[os])
  225. Downloading threadpoolctl-3.4.0-py3-none-any.whl.metadata (13 kB)
  226. Collecting mpmath>=0.19 (from sympy->torch<3.0.0,>=2.2.1->open-interpreter[os])
  227. Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
  228. Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\ivan\appdata\roaming\python\python312\site-packages (from gitdb<5,>=4.0.1->gitpython->git-python<2.0.0,>=1.0.3->open-interpreter[os]) (5.0.1)
  229. Requirement already satisfied: httpcore==1.* in c:\python312\lib\site-packages (from httpx<1,>=0.23.0->openai>=1.0.0->litellm<2.0.0,>=1.34.38->open-interpreter[os]) (1.0.2)
  230. Requirement already satisfied: parso<0.9.0,>=0.8.3 in c:\python312\lib\site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (0.8.3)
  231. Requirement already satisfied: ansicon in c:\users\ivan\appdata\roaming\python\python312\site-packages (from jinxed>=1.1.0->blessed>=1.19.0->inquirer<4.0.0,>=3.1.3->open-interpreter[os]) (1.89.0)
  232. Requirement already satisfied: executing>=1.2.0 in c:\python312\lib\site-packages (from stack-data->ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (2.0.1)
  233. Requirement already satisfied: asttokens>=2.1.0 in c:\python312\lib\site-packages (from stack-data->ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (2.4.1)
  234. Requirement already satisfied: pure-eval in c:\python312\lib\site-packages (from stack-data->ipython>=7.23.1->ipykernel<7.0.0,>=6.26.0->open-interpreter[os]) (0.2.2)
  235. Downloading ipywidgets-8.1.2-py3-none-any.whl (139 kB)
  236. ---------------------------------------- 139.4/139.4 kB 8.1 MB/s eta 0:00:00
  237. Using cached plyer-2.1.0-py2.py3-none-any.whl (142 kB)
  238. Using cached pytesseract-0.3.10-py3-none-any.whl (14 kB)
  239. Using cached PyWinCtl-0.3-py3-none-any.whl (101 kB)
  240. Downloading sentence_transformers-2.7.0-py3-none-any.whl (171 kB)
  241. --------------------------------------- 171.5/171.5 kB 10.1 MB/s eta 0:00:00
  242. Downloading timm-0.9.16-py3-none-any.whl (2.2 MB)
  243. ---------------------------------------- 2.2/2.2 MB 11.9 MB/s eta 0:00:00
  244. Downloading torch-2.3.0-cp312-cp312-win_amd64.whl (159.7 MB)
  245. ---------------------------------------- 159.7/159.7 MB 9.6 MB/s eta 0:00:00
  246. Downloading jupyterlab_widgets-3.0.10-py3-none-any.whl (215 kB)
  247. --------------------------------------- 215.0/215.0 kB 13.7 MB/s eta 0:00:00
  248. Downloading mkl-2021.4.0-py2.py3-none-win_amd64.whl (228.5 MB)
  249. ---------------------------------------- 228.5/228.5 MB 9.0 MB/s eta 0:00:00
  250. Downloading intel_openmp-2021.4.0-py2.py3-none-win_amd64.whl (3.5 MB)
  251. ---------------------------------------- 3.5/3.5 MB 11.8 MB/s eta 0:00:00
  252. Downloading tbb-2021.12.0-py3-none-win_amd64.whl (286 kB)
  253. ---------------------------------------- 286.4/286.4 kB 8.6 MB/s eta 0:00:00
  254. Downloading PyMonCtl-0.92-py3-none-any.whl (45 kB)
  255. ---------------------------------------- 45.9/45.9 kB 2.4 MB/s eta 0:00:00
  256. Using cached PyWinBox-0.7-py3-none-any.whl (12 kB)
  257. Downloading transformers-4.40.1-py3-none-any.whl (9.0 MB)
  258. ---------------------------------------- 9.0/9.0 MB 11.7 MB/s eta 0:00:00
  259. Downloading huggingface_hub-0.22.2-py3-none-any.whl (388 kB)
  260. ---------------------------------------- 388.9/388.9 kB 8.1 MB/s eta 0:00:00
  261. Downloading safetensors-0.4.3-cp312-none-win_amd64.whl (289 kB)
  262. ---------------------------------------- 289.4/289.4 kB 9.0 MB/s eta 0:00:00
  263. Downloading tokenizers-0.19.1-cp312-none-win_amd64.whl (2.2 MB)
  264. ---------------------------------------- 2.2/2.2 MB 3.0 MB/s eta 0:00:00
  265. Downloading widgetsnbextension-4.0.10-py3-none-any.whl (2.3 MB)
  266. ---------------------------------------- 2.3/2.3 MB 11.3 MB/s eta 0:00:00
  267. Downloading networkx-3.3-py3-none-any.whl (1.7 MB)
  268. ---------------------------------------- 1.7/1.7 MB 10.8 MB/s eta 0:00:00
  269. Downloading scikit_learn-1.4.2-cp312-cp312-win_amd64.whl (10.6 MB)
  270. ---------------------------------------- 10.6/10.6 MB 11.5 MB/s eta 0:00:00
  271. Downloading scipy-1.13.0-cp312-cp312-win_amd64.whl (45.9 MB)
  272. ---------------------------------------- 45.9/45.9 MB 10.7 MB/s eta 0:00:00
  273. Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
  274. Downloading torchvision-0.18.0-cp312-cp312-win_amd64.whl (1.2 MB)
  275. ---------------------------------------- 1.2/1.2 MB 10.6 MB/s eta 0:00:00
  276. Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
  277. Downloading threadpoolctl-3.4.0-py3-none-any.whl (17 kB)
  278. Building wheels for collected packages: pyautogui, pygetwindow, pyscreeze, pytweening, mouseinfo, pymsgbox, pyperclip, pyrect
  279. Building wheel for pyautogui (pyproject.toml): started
  280. Building wheel for pyautogui (pyproject.toml): finished with status 'done'
  281. Created wheel for pyautogui: filename=PyAutoGUI-0.9.54-py3-none-any.whl size=37596 sha256=3423fba2ba28c0a5cc63659e0e082176dff7b705b4d8d584eb093c15bce784ba
  282. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\d9\d6\47\04075995b093ecc87c212c9a3dbd34e59456c6fe504d65c3e4
  283. Building wheel for pygetwindow (setup.py): started
  284. Building wheel for pygetwindow (setup.py): finished with status 'done'
  285. Created wheel for pygetwindow: filename=PyGetWindow-0.0.9-py3-none-any.whl size=11080 sha256=b67f4bc918920a73618072e4db924fa92f82f060ede6ac699d5db4aa1f96aa01
  286. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\b3\39\81\34dd7a2eca5f885f1f6e2796761970daf66a2d98ac1904f5f4
  287. Building wheel for pyscreeze (pyproject.toml): started
  288. Building wheel for pyscreeze (pyproject.toml): finished with status 'done'
  289. Created wheel for pyscreeze: filename=PyScreeze-0.1.30-py3-none-any.whl size=14401 sha256=96972b238d385dfe3172705314cb4ee30a38abf3fc5e887afe39f6de23b89475
  290. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\9c\02\ab\4e0b66866966de3adef00e6de37147b6ba529f6a682c64b7cf
  291. Building wheel for pytweening (setup.py): started
  292. Building wheel for pytweening (setup.py): finished with status 'done'
  293. Created wheel for pytweening: filename=pytweening-1.2.0-py3-none-any.whl size=8031 sha256=ec8b9cdc697f18952a16a9af1968d49cf70f99dc92da8bd8c7f3e6b326959cd0
  294. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\23\d5\13\4e9bdadbfe3c78e47c675e7410c0eed2fbb63c5ea6cf1b40e7
  295. Building wheel for mouseinfo (setup.py): started
  296. Building wheel for mouseinfo (setup.py): finished with status 'done'
  297. Created wheel for mouseinfo: filename=MouseInfo-0.1.3-py3-none-any.whl size=10904 sha256=4bc972794dd8bc8b264056f01a6a69f50e226796988a071bcde5d6579067e9ed
  298. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\b1\9b\f3\08650eb7f00af32f07789f3c6a101e0d7fc762b9891ae843bb
  299. Building wheel for pymsgbox (pyproject.toml): started
  300. Building wheel for pymsgbox (pyproject.toml): finished with status 'done'
  301. Created wheel for pymsgbox: filename=PyMsgBox-1.0.9-py3-none-any.whl size=7417 sha256=7ea1ffa2924ae3f1a366787397c84d3a049df9fe425e356a1fd31a601218c17d
  302. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\55\e7\aa\239163543708d1e15c3d9a1b89dbfe3954b0929a6df2951b83
  303. Building wheel for pyperclip (setup.py): started
  304. Building wheel for pyperclip (setup.py): finished with status 'done'
  305. Created wheel for pyperclip: filename=pyperclip-1.8.2-py3-none-any.whl size=11136 sha256=374532834c76d0ea843a11d6b0f9bb3fe24f53e3e0ae349ecb29ee13ae8f99c9
  306. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\b7\e1\45\ce0a91b8cdfed625867580ed90242e4581c4995f69fd062e07
  307. Building wheel for pyrect (setup.py): started
  308. Building wheel for pyrect (setup.py): finished with status 'done'
  309. Created wheel for pyrect: filename=PyRect-0.2.0-py2.py3-none-any.whl size=11205 sha256=1d010ec25f542895a68cd03c80c719c4d7e398533ffc866f10ccbf7d2ffaa791
  310. Stored in directory: c:\users\ivan\appdata\local\pip\cache\wheels\0b\1e\d7\0c74bd8f60b39c14d84e307398786002aa7ddc905927cc03c5
  311. Successfully built pyautogui pygetwindow pyscreeze pytweening mouseinfo pymsgbox pyperclip pyrect
  312. Installing collected packages: tbb, pytweening, pyscreeze, pyrect, pyperclip, pymsgbox, plyer, mpmath, intel-openmp, widgetsnbextension, threadpoolctl, sympy, scipy, safetensors, pywinbox, pytesseract, pymonctl, pygetwindow, networkx, mouseinfo, mkl, jupyterlab-widgets, torch, scikit-learn, pywinctl, pyautogui, huggingface-hub, torchvision, tokenizers, transformers, timm, ipywidgets, sentence-transformers
  313. Attempting uninstall: huggingface-hub
  314. Found existing installation: huggingface-hub 0.17.3
  315. Uninstalling huggingface-hub-0.17.3:
  316. Successfully uninstalled huggingface-hub-0.17.3
  317. Attempting uninstall: tokenizers
  318. Found existing installation: tokenizers 0.15.0
  319. Uninstalling tokenizers-0.15.0:
  320. Successfully uninstalled tokenizers-0.15.0
  321. WARNING: Failed to remove contents in a temporary directory 'C:\Users\ivan\AppData\Roaming\Python\Python312\site-packages\~okenizers'.
  322. You can safely remove it manually.
  323. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  324. ooba 0.0.21 requires huggingface-hub<0.18.0,>=0.17.3, but you have huggingface-hub 0.22.2 which is incompatible.
  325. Successfully installed huggingface-hub-0.22.2 intel-openmp-2021.4.0 ipywidgets-8.1.2 jupyterlab-widgets-3.0.10 mkl-2021.4.0 mouseinfo-0.1.3 mpmath-1.3.0 networkx-3.3 plyer-2.1.0 pyautogui-0.9.54 pygetwindow-0.0.9 pymonctl-0.92 pymsgbox-1.0.9 pyperclip-1.8.2 pyrect-0.2.0 pyscreeze-0.1.30 pytesseract-0.3.10 pytweening-1.2.0 pywinbox-0.7 pywinctl-0.3 safetensors-0.4.3 scikit-learn-1.4.2 scipy-1.13.0 sentence-transformers-2.7.0 sympy-1.12 tbb-2021.12.0 threadpoolctl-3.4.0 timm-0.9.16 tokenizers-0.19.1 torch-2.3.0 torchvision-0.18.0 transformers-4.40.1 widgetsnbextension-4.0.10
  326.  
  327. C:\WINDOWS\system32>echo """"
  328.  
  329. ▌ OS Control enabled
  330.  
  331. > maximize discord window
  332.  
  333. Let's start by maximizing the Discord window.
  334.  
  335. Here's a Python code block to do that:
  336.  
  337.  
  338.  
  339. computer.keyboard.hotkey("command", "up") # Maximize window
  340. computer.display.view() # Verify the window is maximized
  341.  
  342.  
  343. C:\Python312\Lib\site-packages\pydantic\_internal\_fields.py:160: UserWarning: Field "model_name" has conflict with protected namespace "model_".
  344.  
  345. You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  346. warnings.warn(
  347. C:\Python312\Lib\site-packages\pydantic\_internal\_fields.py:160: UserWarning: Field "model_info" has conflict with protected namespace "model_".
  348.  
  349. You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  350. warnings.warn(
  351.  
  352. Python Version: 3.12.1
  353. Pip Version: 24.0
  354. Open-interpreter Version: cmd: Open Interpreter 0.2.5 New Computer Update
  355. , pkg: 0.2.5
  356. OS Version and Architecture: Windows-10-10.0.19045-SP0
  357. CPU Info: Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
  358. RAM Info: 31.87 GB, used: 10.07, free: 21.80
  359.  
  360.  
  361. # Interpreter Info
  362.  
  363. Vision: True
  364. Model: openai/llama3-70b-8192
  365. Function calling: False
  366. Context window: 8192
  367. Max tokens: 4096
  368.  
  369. Auto run: True
  370. API base: https://api.groq.com/openai/v1
  371. Offline: False
  372.  
  373. Curl output: Not local
  374.  
  375. # Messages
  376.  
  377. System Message: You are Open Interpreter, a world-class programmer that can complete any goal by executing code.
  378.  
  379. When you write code, it will be executed **on the user's machine**. The user has given you **full and complete
  380. permission** to execute any code necessary to complete the task.
  381.  
  382. When a user refers to a filename, they're likely referring to an existing file in the directory you're currently
  383. executing code in.
  384.  
  385. In general, try to make plans with as few steps as possible. As for actually executing code to carry out that plan,
  386. **don't try to do everything in one code block.** You should try something, print information about it, then continue
  387. from there in tiny, informed steps. You will never get it on the first try, and attempting it in one go will often lead
  388. to errors you cant see.
  389.  
  390. Manually summarize text.
  391.  
  392. Do not try to write code that attempts the entire task at once, and verify at each step whether or not you're on track.
  393.  
  394. # Computer
  395.  
  396. You may use the `computer` Python module to complete tasks:
  397.  
  398. ```python
  399. computer.browser.search(query) # Silently searches Google for the query, returns result. The user's browser is
  400. unaffected. (does not open a browser!)
  401.  
  402. computer.display.info() # Returns a list of connected monitors/Displays and their info (x and y cordinates, width,
  403. height, width_mm, height_mm, name). Use this to verify the monitors connected before using computer.display.view() when
  404. neccessary
  405. computer.display.view() # Shows you what's on the screen (primary display by default), returns a `pil_image` `in case
  406. you need it (rarely). To get a specific display, use the parameter screen=DISPLAY_NUMBER (0 for primary monitor 1 and
  407. above for secondary monitors). **You almost always want to do this first!**
  408.  
  409. computer.keyboard.hotkey(" ", "command") # Opens spotlight (very useful)
  410. computer.keyboard.write("hello")
  411.  
  412. # Use this to click text:
  413. computer.mouse.click("text onscreen") # This clicks on the UI element with that text. Use this **frequently** and get
  414. creative! To click a video, you could pass the *timestamp* (which is usually written on the thumbnail) into this.
  415. # Use this to click an icon, button, or other symbol:
  416. computer.mouse.click(icon="gear icon") # Moves mouse to the icon with that description. Use this very often.
  417.  
  418. computer.mouse.move("open recent >") # This moves the mouse over the UI element with that text. Many dropdowns will
  419. disappear if you click them. You have to hover over items to reveal more.
  420. computer.mouse.click(x=500, y=500) # Use this very, very rarely. It's highly inaccurate
  421.  
  422. computer.mouse.scroll(-10) # Scrolls down. If you don't find some text on screen that you expected to be there, you
  423. probably want to do this
  424. x, y = computer.display.center() # Get your bearings
  425.  
  426. computer.clipboard.view() # Returns contents of clipboard
  427. computer.os.get_selected_text() # Use frequently. If editing text, the user often wants this
  428.  
  429. {{
  430. import platform
  431. if platform.system() == 'Darwin':
  432. print('''
  433. computer.browser.search(query) # Google search results will be returned from this function as a string
  434. computer.files.edit(path_to_file, original_text, replacement_text) # Edit a file
  435. computer.calendar.create_event(title="Meeting", start_date=datetime.datetime.now(), end_date=datetime.datetime.now() +
  436. datetime.timedelta(hours=1), notes="Note", location="") # Creates a calendar event
  437. computer.calendar.get_events(start_date=datetime.date.today(), end_date=None) # Get events between dates. If end_date is
  438. None, only gets events for start_date
  439. computer.calendar.delete_event(event_title="Meeting", start_date=datetime.datetime) # Delete a specific event with a
  440. matching title and start date, you may need to get use get_events() to find the specific event object first
  441. computer.contacts.get_phone_number("John Doe")
  442. computer.contacts.get_email_address("John Doe")
  443. computer.mail.send("john@email.com", "Meeting Reminder", "Reminder that our meeting is at 3pm today.",
  444. ["path/to/attachment.pdf", "path/to/attachment2.pdf"]) # Send an email with a optional attachments
  445. computer.mail.get(4, unread=True) # Returns the {number} of unread emails, or all emails if False is passed
  446. computer.mail.unread_count() # Returns the number of unread emails
  447. computer.sms.send("555-123-4567", "Hello from the computer!") # Send a text message. MUST be a phone number, so use
  448. computer.contacts.get_phone_number frequently here
  449. ''')
  450. }}
  451.  
  452. ```
  453.  
  454. For rare and complex mouse actions, consider using computer vision libraries on the `computer.display.view()`
  455. `pil_image` to produce a list of coordinates for the mouse to move/drag to.
  456.  
  457. If the user highlighted text in an editor, then asked you to modify it, they probably want you to `keyboard.write` over
  458. their version of the text.
  459.  
  460. Tasks are 100% computer-based. DO NOT simply write long messages to the user to complete tasks. You MUST put your text
  461. back into the program they're using to deliver your text!
  462.  
  463. Clicking text is the most reliable way to use the mouse— for example, clicking a URL's text you see in the URL bar, or
  464. some textarea's placeholder text (like "Search" to get into a search bar).
  465.  
  466. Applescript might be best for some tasks.
  467.  
  468. If you use `plt.show()`, the resulting image will be sent to you. However, if you use `PIL.Image.show()`, the resulting
  469. image will NOT be sent to you.
  470.  
  471. It is very important to make sure you are focused on the right application and window. Often, your first command should
  472. always be to explicitly switch to the correct application.
  473.  
  474. When searching the web, use query parameters. For example, https://www.amazon.com/s?k=monitor
  475.  
  476. Try multiple methods before saying the task is impossible. **You can do it!**
  477.  
  478. # Critical Routine Procedure for Multi-Step Tasks
  479.  
  480. Include `computer.display.view()` after a 2 second delay at the end of _every_ code block to verify your progress, then
  481. answer these questions in extreme detail:
  482.  
  483. 1. Generally, what is happening on-screen?
  484. 2. What is the active app?
  485. 3. What hotkeys does this app support that might get be closer to my goal?
  486. 4. What text areas are active, if any?
  487. 5. What text is selected?
  488. 6. What options could you take next to get closer to your goal?
  489.  
  490. {{
  491. # Add window information
  492.  
  493. try:
  494.  
  495. import pywinctl
  496.  
  497. active_window = pywinctl.getActiveWindow()
  498.  
  499. if active_window:
  500. app_info = ""
  501.  
  502. if "_appName" in active_window.__dict__:
  503. app_info += (
  504. "Active Application: " + active_window.__dict__["_appName"]
  505. )
  506.  
  507. if hasattr(active_window, "title"):
  508. app_info += "\n" + "Active Window Title: " + active_window.title
  509. elif "_winTitle" in active_window.__dict__:
  510. app_info += (
  511. "\n"
  512. + "Active Window Title:"
  513. + active_window.__dict__["_winTitle"]
  514. )
  515.  
  516. if app_info != "":
  517. print(
  518. "\n\n# Important Information:\n"
  519. + app_info
  520. + "\n(If you need to be in another active application to help the user, you need to switch to it.)"
  521. )
  522.  
  523. except:
  524. # Non blocking
  525. pass
  526.  
  527. }}
  528.  
  529. {'role': 'user', 'type': 'message', 'content': 'maximize discord window'}
  530.  
  531. {'role': 'assistant', 'type': 'message', 'content': "Let's start by maximizing the Discord window. \n\nHere's a Python
  532. code block to do that:\n"}
  533.  
  534. {'role': 'assistant', 'type': 'code', 'format': 'python', 'content': '\ncomputer.keyboard.hotkey("command", "up") #
  535. Maximize window\ncomputer.display.view() # Verify the window is maximized\n'}
  536.  
  537. {'role': 'computer', 'type': 'console', 'format': 'output', 'content': ''}
  538.  
  539. {'role': 'computer', 'type': 'image', 'format': 'base64.png', 'content':
  540. 'iVBORw0KGgoAAAANSUhEUgAADwAAAAhwCAIAAAAf3FwlAAEAAElEQVR4AezdB4BU1d338emzfdmFpchSZAVlFQRFxQaK3ViiwZ7ExJKqiSkaU58n5X1iYpI
  541. n9YkxUROTGE2ssURRUVQsQQOKgoAgIH1he5v+/u4c9jLMzA6zfXb5Tsh6595zzz3nM3cK7O/+x+HghgACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAA
  542. CCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAAC...ERYhgYv0kISXPv+P0FTu6lsjsNZ3E77O6EOzkGj7kJaSybFyPj9+YirM
  543. JvkCPPJslrmWsL4MuXuuf+mSk7KhN3zh859P7PM/tsmmtIMFc9X/nHJq/5T/B+z8vz//dn4JdEsopR/5nHf6/OdU9an/x93I7Mgn5vz3py2u5mrSuE6wIoLJ
  544. +vsGJevd5IDBpGnjDCm3wBac3jATPfk9uf/p2bAKid91zSOlYevijlw8dwzNm9//W6CjW04mWladKo8FP85S3/9O3lp1As3/H5qrVtGbzPHZAAAAAElFTkSu
  545. QmCC'}
  546.  
  547. Traceback (most recent call last):
  548. File "C:\Python312\Lib\site-packages\litellm\llms\openai.py", line 414, in completion
  549. raise e
  550. File "C:\Python312\Lib\site-packages\litellm\llms\openai.py", line 332, in completion
  551. return self.streaming(
  552. ^^^^^^^^^^^^^^^
  553. File "C:\Python312\Lib\site-packages\litellm\llms\openai.py", line 514, in streaming
  554. response = openai_client.chat.completions.create(**data, timeout=timeout)
  555. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  556. File "C:\Python312\Lib\site-packages\openai\_utils\_utils.py", line 277, in wrapper
  557. return func(*args, **kwargs)
  558. ^^^^^^^^^^^^^^^^^^^^^
  559. File "C:\Python312\Lib\site-packages\openai\resources\chat\completions.py", line 579, in create
  560. return self._post(
  561. ^^^^^^^^^^^
  562. File "C:\Python312\Lib\site-packages\openai\_base_client.py", line 1232, in post
  563. return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  564. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  565. File "C:\Python312\Lib\site-packages\openai\_base_client.py", line 921, in request
  566. return self._request(
  567. ^^^^^^^^^^^^^^
  568. File "C:\Python312\Lib\site-packages\openai\_base_client.py", line 1012, in _request
  569. raise self._make_status_error_from_response(err.response) from None
  570. openai.APIStatusError: Error code: 413 - {'error': {'message': 'Request Entity Too Large', 'type':
  571. 'invalid_request_error', 'code': 'request_too_large'}}
  572.  
  573. During handling of the above exception, another exception occurred:
  574.  
  575. Traceback (most recent call last):
  576. File "C:\Python312\Lib\site-packages\litellm\main.py", line 1013, in completion
  577. raise e
  578. File "C:\Python312\Lib\site-packages\litellm\main.py", line 986, in completion
  579. response = openai_chat_completions.completion(
  580. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  581. File "C:\Python312\Lib\site-packages\litellm\llms\openai.py", line 420, in completion
  582. raise OpenAIError(status_code=e.status_code, message=str(e))
  583. litellm.llms.openai.OpenAIError: Error code: 413 - {'error': {'message': 'Request Entity Too Large', 'type':
  584. 'invalid_request_error', 'code': 'request_too_large'}}
  585.  
  586. During handling of the above exception, another exception occurred:
  587.  
  588. Traceback (most recent call last):
  589. File "C:\Python312\Lib\site-packages\interpreter\core\llm\llm.py", line 229, in fixed_litellm_completions
  590. yield from litellm.completion(**params)
  591. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  592. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 3077, in wrapper
  593. raise e
  594. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 2975, in wrapper
  595. result = original_function(*args, **kwargs)
  596. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  597. File "C:\Python312\Lib\site-packages\litellm\main.py", line 2148, in completion
  598. raise exception_type(
  599. ^^^^^^^^^^^^^^^
  600. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 8823, in exception_type
  601. raise e
  602. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 7576, in exception_type
  603. raise BadRequestError(
  604. litellm.exceptions.BadRequestError: OpenAIException - Error code: 413 - {'error': {'message': 'Request Entity Too
  605. Large', 'type': 'invalid_request_error', 'code': 'request_too_large'}}
  606.  
  607. During handling of the above exception, another exception occurred:
  608.  
  609. Traceback (most recent call last):
  610. File "<frozen runpy>", line 198, in _run_module_as_main
  611. File "<frozen runpy>", line 88, in _run_code
  612. File "C:\Python312\Scripts\interpreter.exe\__main__.py", line 7, in <module>
  613. File "C:\Python312\Lib\site-packages\interpreter\terminal_interface\start_terminal_interface.py", line 453, in main
  614. start_terminal_interface(interpreter)
  615. File "C:\Python312\Lib\site-packages\interpreter\terminal_interface\start_terminal_interface.py", line 427, in
  616. start_terminal_interface
  617. interpreter.chat()
  618. File "C:\Python312\Lib\site-packages\interpreter\core\core.py", line 166, in chat
  619. for _ in self._streaming_chat(message=message, display=display):
  620. File "C:\Python312\Lib\site-packages\interpreter\core\core.py", line 195, in _streaming_chat
  621. yield from terminal_interface(self, message)
  622. File "C:\Python312\Lib\site-packages\interpreter\terminal_interface\terminal_interface.py", line 133, in
  623. terminal_interface
  624. for chunk in interpreter.chat(message, display=False, stream=True):
  625. File "C:\Python312\Lib\site-packages\interpreter\core\core.py", line 234, in _streaming_chat
  626. yield from self._respond_and_store()
  627. File "C:\Python312\Lib\site-packages\interpreter\core\core.py", line 282, in _respond_and_store
  628. for chunk in respond(self):
  629. File "C:\Python312\Lib\site-packages\interpreter\core\respond.py", line 69, in respond
  630. for chunk in interpreter.llm.run(messages_for_llm):
  631. File "C:\Python312\Lib\site-packages\interpreter\core\llm\llm.py", line 201, in run
  632. yield from run_text_llm(self, params)
  633. File "C:\Python312\Lib\site-packages\interpreter\core\llm\run_text_llm.py", line 20, in run_text_llm
  634. for chunk in llm.completions(**params):
  635. File "C:\Python312\Lib\site-packages\interpreter\core\llm\llm.py", line 232, in fixed_litellm_completions
  636. raise first_error
  637. File "C:\Python312\Lib\site-packages\interpreter\core\llm\llm.py", line 213, in fixed_litellm_completions
  638. yield from litellm.completion(**params)
  639. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  640. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 3077, in wrapper
  641. raise e
  642. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 2975, in wrapper
  643. result = original_function(*args, **kwargs)
  644. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  645. File "C:\Python312\Lib\site-packages\litellm\main.py", line 2148, in completion
  646. raise exception_type(
  647. ^^^^^^^^^^^^^^^
  648. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 8823, in exception_type
  649. raise e
  650. File "C:\Python312\Lib\site-packages\litellm\utils.py", line 7576, in exception_type
  651. raise BadRequestError(
  652. litellm.exceptions.BadRequestError: OpenAIException - Error code: 413 - {'error': {'message': 'Request Entity Too
  653. Large', 'type': 'invalid_request_error', 'code': 'request_too_large'}}
  654.  
  655. C:\WINDOWS\system32>interpreter --api_base "https://api.groq.com/openai/v1" --api_key "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" --model "llama3-70b-8192" --context_window 8192 --os
Add Comment
Please, Sign In to add comment