Skip to content

Commit 20d868b

Browse files
Merge pull request #48 from thedadams/add-force-sequential
feat: add force sequential option
2 parents cda71bb + 7001607 commit 20d868b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

opts.go

+1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ type Options struct {
3939
Prompt bool `json:"prompt"`
4040
CredentialOverrides []string `json:"credentialOverrides"`
4141
Location string `json:"location"`
42+
ForceSequential bool `json:"forceSequential"`
4243
}

run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (r *Run) State() RunState {
6060
// Err returns the error that caused the gptscript to fail, if any.
6161
func (r *Run) Err() error {
6262
if r.err != nil {
63-
return fmt.Errorf("run encounterd an error: %w with error output: %s", r.err, r.errput)
63+
return fmt.Errorf("run encountered an error: %w with error output: %s", r.err, r.errput)
6464
}
6565
return nil
6666
}

0 commit comments

Comments
 (0)