Skip to content

sandbox float resources#284

Merged
JannikSt merged 1 commit intomainfrom
feature/sandbox-floats
Feb 1, 2026
Merged

sandbox float resources#284
JannikSt merged 1 commit intomainfrom
feature/sandbox-floats

Conversation

@kcoopermiller
Copy link
Copy Markdown
Member

@kcoopermiller kcoopermiller commented Jan 7, 2026

Note

Enables fractional resource specifications for sandboxes across SDK models and CLI.

  • Change cpu_cores, memory_gb, disk_size_gb from int to float in models.py (Sandbox, CreateSandboxRequest, UpdateSandboxRequest) and update defaults
  • Update CLI sandbox create options to accept floats for CPU/memory/disk
  • Adjust format_resources to accept floats and display using :g for compact formatting

Written by Cursor Bugbot for commit e9c8158. This will update automatically on new commits. Configure here.

@kcoopermiller kcoopermiller marked this pull request as ready for review January 8, 2026 02:32
Copy link
Copy Markdown
Contributor

@DamianB-BitFlipper DamianB-BitFlipper left a comment

Choose a reason for hiding this comment

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

LGTM

@JannikSt JannikSt merged commit 8ee662f into main Feb 1, 2026
11 checks passed
@JannikSt JannikSt deleted the feature/sandbox-floats branch February 1, 2026 02:15
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.

3 participants