Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update execute_code.py #6903

Merged
merged 7 commits into from
Feb 27, 2024
Merged

Conversation

ehtec
Copy link
Contributor

@ehtec ehtec commented Feb 24, 2024

Background

Fix code execution issue

@ehtec ehtec requested a review from a team as a code owner February 24, 2024 02:20
Copy link

netlify bot commented Feb 24, 2024

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit 68e17ae
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/65ddd42d60cb6b0009f0b034
😎 Deploy Preview https://deploy-preview-6903--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ntindle ntindle requested a review from Pwuts February 26, 2024 02:50
Copy link
Member

@Pwuts Pwuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this PR! Aside from a few linting errors (fixed) and minor requests for clarification (below), it looks good.

autogpts/autogpt/autogpt/commands/execute_code.py Outdated Show resolved Hide resolved
autogpts/autogpt/autogpt/commands/execute_code.py Outdated Show resolved Hide resolved
autogpts/autogpt/autogpt/commands/execute_code.py Outdated Show resolved Hide resolved
@Pwuts
Copy link
Member

Pwuts commented Feb 26, 2024

Don't worry about the (Docker|Python) CI / test checks failing, they fail for lack of access to OpenAI and this is not due to changes you made.

* Rename `command` parameter to `command_line`
* Amend docstring to explain logic for allowing/denying shell execution
@Pwuts Pwuts merged commit 5090f55 into Significant-Gravitas:master Feb 27, 2024
10 of 13 checks passed
@Significant-Gravitas Significant-Gravitas deleted a comment from sentry-io bot Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants