remove allowExecutors from config, execute server, and agent JSONs
This commit is contained in:
parent
de8abb0b7a
commit
d5ed0a545f
|
|
@ -1157,9 +1157,7 @@ func (s *Manager) CreateSession(args []string) (string, error) {
|
|||
if s.cfg.Yolo {
|
||||
execOpts = append(execOpts, execute.WithYolo())
|
||||
}
|
||||
if cfg != nil && len(cfg.AllowExecutors) > 0 {
|
||||
execOpts = append(execOpts, execute.WithAllowExecutors(cfg.AllowExecutors))
|
||||
}
|
||||
|
||||
if cfg != nil && len(cfg.AllowTools) > 0 {
|
||||
execOpts = append(execOpts, execute.WithAllowTools(cfg.AllowTools))
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue