Support configuring effort alongside model
This commit is contained in:
@@ -31,6 +31,7 @@ type HookMatcher struct {
|
||||
type Options struct {
|
||||
Cwd string
|
||||
Model string
|
||||
Effort string
|
||||
SessionID string
|
||||
Resume string
|
||||
ResumeAt string
|
||||
@@ -330,6 +331,10 @@ func (s *Session) buildArgs(opts Options) ([]string, error) {
|
||||
args = append(args, "--model", opts.Model)
|
||||
}
|
||||
|
||||
if opts.Effort != "" {
|
||||
args = append(args, "--effort", opts.Effort)
|
||||
}
|
||||
|
||||
if opts.Guidance != "" {
|
||||
args = append(args, "--append-system-prompt", opts.Guidance)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user