Skip to content

Commit

Permalink
Merge pull request #668 from thedadams/sdk-force-sequential
Browse files Browse the repository at this point in the history
feat: add force sequential option to SDK server
  • Loading branch information
ibuildthecloud authored Jul 28, 2024
2 parents faaee65 + 9d739fc commit 9ffbf0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sdkserver/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ func (s *server) execHandler(w http.ResponseWriter, r *http.Request) {
// Set the monitor factory so that we can get events from the server.
MonitorFactory: NewSessionFactory(s.events),
CredentialOverrides: reqObject.CredentialOverrides,
Sequential: reqObject.ForceSequential,
},
}

Expand Down
1 change: 1 addition & 0 deletions pkg/sdkserver/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ type toolOrFileRequest struct {
CredentialOverrides []string `json:"credentialOverrides"`
Confirm bool `json:"confirm"`
Location string `json:"location,omitempty"`
ForceSequential bool `json:"forceSequential"`
}

type content struct {
Expand Down

0 comments on commit 9ffbf0a

Please sign in to comment.