mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 05:37:20 +08:00
Minimal Docker Sandbox with GPT-3.5 Execution Example (#48)
* minimal docker sandbox * make container_image as an argument (fall back to ubuntu); increase timeout to avoid return too early for long running commands; * add a minimal working (imperfect) example * fix typo * change default container name * attempt to fix "Bad file descriptor" error * handle ctrl+D * add Python gitignore * push sandbox to shared dockerhub for ease of use * move codeact example into research folder * add README for opendevin * change container image name to opendevin dockerhub * move folder; change example to a more general agent * update Message and Role * update docker sandbox to support mounting folder and switch to user with correct permission * make network as host * handle erorrs when attrs are not set yet * convert codeact agent into a compatible agent * add workspace to gitignore * make sure the agent interface adjustment works for langchain_agent
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -187,4 +187,4 @@ yarn-error.log*
|
||||
|
||||
# agent
|
||||
.envrc
|
||||
agent/workspace
|
||||
/workspace
|
||||
|
||||
Reference in New Issue
Block a user