picoclaw runtime里面 调用命令时 agent 传的 timeout 是无效的
https://github.com/sipeed/picoclaw/blob/5224b9a4bc1d18e168692af1f0975c7f80d68fd1/pkg/tools/shell.go#L387
初步分析,t.timeout 这个超时时间来源于项目启动配置设置,
csgclaw/internal/runtime/picoclawsandbox/defaults/picoclaw-config.json:154
picoclaw/pkg/tools/shell.go:166:
if config != nil && config.Tools.Exec.TimeoutSeconds > 0 {
timeout = time.Duration(config.Tools.Exec.TimeoutSeconds) * time.Second
}
所以现在所有 picoclaw 执行命令的超时时间都是 600 s
picoclaw runtime里面 调用命令时 agent 传的 timeout 是无效的
https://github.com/sipeed/picoclaw/blob/5224b9a4bc1d18e168692af1f0975c7f80d68fd1/pkg/tools/shell.go#L387
初步分析,t.timeout 这个超时时间来源于项目启动配置设置,
csgclaw/internal/runtime/picoclawsandbox/defaults/picoclaw-config.json:154
picoclaw/pkg/tools/shell.go:166:
所以现在所有 picoclaw 执行命令的超时时间都是 600 s