remove allowExecutors from config, execute server, and agent JSONs

This commit is contained in:
lkn 2026-07-28 22:39:15 +02:00
parent de8abb0b7a
commit d5ed0a545f
1 changed files with 1 additions and 3 deletions

View File

@ -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))
}