mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-28 11:07:29 +08:00
refactor: default-enable session planning and scheduling without config flags
This commit is contained in:
@@ -52,12 +52,6 @@ func Validate(cfg *Config) []error {
|
||||
if rc.ToolMaxParallelCalls <= 0 {
|
||||
errs = append(errs, fmt.Errorf("agents.defaults.runtime_control.tool_max_parallel_calls must be > 0"))
|
||||
}
|
||||
if rc.SessionMaxParallelRuns <= 0 {
|
||||
errs = append(errs, fmt.Errorf("agents.defaults.runtime_control.session_max_parallel_runs must be > 0"))
|
||||
}
|
||||
if rc.SessionAutoPlanMaxTasks <= 0 {
|
||||
errs = append(errs, fmt.Errorf("agents.defaults.runtime_control.session_auto_plan_max_tasks must be > 0"))
|
||||
}
|
||||
if strings.TrimSpace(rc.SystemSummary.Marker) == "" {
|
||||
errs = append(errs, fmt.Errorf("agents.defaults.runtime_control.system_summary.marker must be non-empty"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user