Skip to content

Commit

Permalink
Add split output fields (#2359)
Browse files Browse the repository at this point in the history
* add split output fields

* update message
  • Loading branch information
azliu0 authored Oct 18, 2024
1 parent 737a915 commit 6f65ded
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1823,9 +1823,12 @@ message RuntimeOutputBatch {
uint64 batch_index = 2;
// if an exit code is given, this is the final message that will be sent.
optional int32 exit_code = 3;
repeated RuntimeOutputMessage stdout = 4;
repeated RuntimeOutputMessage stderr = 5;
repeated RuntimeOutputMessage info = 6;
}

// Used for `modal container exec`
// Used for `modal container exec`, `modal shell`, and Sandboxes
message RuntimeOutputMessage {
// only stdout / stderr is used
FileDescriptor file_descriptor = 1;
Expand Down

0 comments on commit 6f65ded

Please sign in to comment.