File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2680,6 +2680,19 @@ message RateLimit {
26802680 RateLimitInterval interval = 2 ;
26812681}
26822682
2683+ message ResourceInfo {
2684+ message ResourceValue {
2685+ uint32 value = 1 ;
2686+ bool is_default = 2 ;
2687+ }
2688+ ResourceValue memory_mb = 1 ; // MiB
2689+ ResourceValue milli_cpu = 2 ; // milli CPU cores
2690+ string gpu_type = 3 ;
2691+ uint32 memory_mb_max = 4 ; // MiB
2692+ uint32 ephemeral_disk_mb = 5 ; // MiB
2693+ uint32 milli_cpu_max = 6 ; // milli CPU cores
2694+ }
2695+
26832696message Resources {
26842697 uint32 memory_mb = 2 ; // MiB
26852698 uint32 milli_cpu = 3 ; // milli CPU cores
@@ -2888,9 +2901,12 @@ message SandboxInfo {
28882901 repeated SandboxTag tags = 6 ; // TODO: Not yet exposed in client library.
28892902 string name = 7 ;
28902903 string image_id = 8 ;
2904+ ResourceInfo resource_info = 9 ;
2905+ repeated string regions = 10 ;
28912906 reserved 2 ; // modal.client.Sandbox definition
28922907}
28932908
2909+
28942910message SandboxListRequest {
28952911 string app_id = 1 ;
28962912 double before_timestamp = 2 ;
Original file line number Diff line number Diff line change 11# Copyright Modal Labs 2025
22"""Supplies the current version of the modal client library."""
33
4- __version__ = "1.3.1.dev8 "
4+ __version__ = "1.3.1.dev9 "
You can’t perform that action at this time.
0 commit comments