AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Run execute_shell in same environment as execute_python_code

Open Wladastic opened this issue 1 year ago • 8 comments

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

My Auto-gpt keeps trying to install pip packages to execute the python3 scripts it builds. But the python shells are executed in a docker container and the shell is executed locally.

This results in auto-gpt trying to resolve why it cannot install the packages it need and getting stuck in a weird loop where it breaks out by using other agents again and does weird stuff on it's own or keeps triggering speak.py in the background with a mix of gibberish and stuff like "run specified file with python python version set version set view option set output log path path to verbose log, no proxy proxy" It sounds funny actually

Current behavior 😯

No response

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here

Wladastic avatar Apr 14 '23 10:04 Wladastic

Please include your log and reopen.

Pwuts avatar Apr 18 '23 04:04 Pwuts

the python shells are executed in a docker container and the shell is executed locally.

would not have closed that yet, that's actually a valid issue: there is a discrepancy here if execute_shell and execute_python run in different environments, as explained by @valayDave here: https://github.com/Significant-Gravitas/Auto-GPT/issues/2987#issuecomment-1536929354

Boostrix avatar May 09 '23 09:05 Boostrix

Related: #3541

Pwuts avatar May 30 '23 21:05 Pwuts

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] avatar Sep 06 '23 21:09 github-actions[bot]

This issue was closed automatically because it has been stale for 10 days with no activity.

github-actions[bot] avatar Sep 19 '23 01:09 github-actions[bot]

not in favor of closing this one, pwuts introduced a "fridge" a while ago - maybe we need some notion of "attic" or "in a perfect world" or just label these "good first issue" please

Boostrix avatar Oct 04 '23 18:10 Boostrix

not in favor of closing this one, pwuts introduced a "fridge" a while ago - maybe we need some notion of "attic" or "in a perfect world" or just label these "good first issue" please

fridge is now also whitelisted from the stale monster. Because you know, things don't go stale in the fridge. :)

Pwuts avatar Nov 16 '23 14:11 Pwuts

does this issue still persist

kusuta012 avatar May 15 '24 16:05 kusuta012