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

feat(Session): add sandbox base, runtime container image to session settings #7329

Merged
merged 4 commits into from
Mar 19, 2025

Conversation

zaidsheikh
Copy link
Contributor

  • This change is worth documenting at https://docs.all-hands.dev/
  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

End-user friendly description of the problem this fixes or functionality that this introduces.
Allows users to specify a custom base or runtime sandbox image in the POST request to /api/settings


Give a summary of what the PR does, explaining any non-trivial design decisions.
Add sandbox_base_container_image and sandbox_runtime_container_image to openhands.server.settings.Settings and update Session.initialize_agent() to use these custom base or runtime sandbox images.


Link of any specific issues this addresses.

zaidsheikh and others added 3 commits March 18, 2025 17:25
…andbox_base_container_image


If `config.sandbox.runtime_container_image` is already set from another source (such as env. variable `SANDBOX_RUNTIME_CONTAINER_IMAGE` or in config.toml, openhands will use that rather than building the runtime image from user specified `sandbox_base_container_image`
@neubig neubig enabled auto-merge (squash) March 19, 2025 15:46
@neubig neubig merged commit 13bb474 into All-Hands-AI:main Mar 19, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants