AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Command clone_repository returned: Error

Open Xerizaf opened this issue 2 years ago • 2 comments

⚠️ Search for existing issues first ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

Clone repository

Current behavior 😯

Command clone_repository returned: Error: Attempted to access path 'C:\home******\auto_gpt_workspace*' outside of workspace 'C:\Users*\OneDrive\Desktop\Auto-GPT\auto_gpt_workspace'.

Expected behavior 🤔

Not to turn an error

Your prompt 📝

# Paste your prompt here

Your Logs 📒

<insert your logs here>

Xerizaf avatar Apr 22 '23 11:04 Xerizaf

How to set access to file outside workspace?

Xerizaf avatar Apr 22 '23 12:04 Xerizaf

In the .env file comment out the line that says RESTRICT_TO_WORKSPACE and set it to False, but it's highly not recommended.

FlamingFury00 avatar Apr 22 '23 13:04 FlamingFury00

Solution in comments, though not recommended

ntindle avatar Apr 23 '23 02:04 ntindle

In the .env file comment out the line that says RESTRICT_TO_WORKSPACE and set it to False, but it's highly not recommended.

sorry i cant find in .env

bruno90x avatar May 10 '23 21:05 bruno90x