mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* use model name from main.py arguments instead of env var * set default model to gpt-4-0125-preview for langchains agent to work; print model, dir, and task when started
OpenDevin Shared Abstraction and Components
This is a Python package that contains all the shared abstraction (e.g., Agent) and components (e.g., sandbox, web browser, search API, selenium).
Sandbox component
Run the docker-based sandbox interactive:
mkdir workspace
python3 opendevin/sandbox/sandbox.py -d workspace
It will map ./workspace into the docker container with the folder permission correctly adjusted for current user.
Example screenshot: