resolve conflicts

This commit is contained in:
afjcjsbx 2026-02-27 22:36:06 +01:00
parent 634aadcadd
commit 0f6509e805

View file

@ -3,6 +3,7 @@ package gateway
import (
"context"
"fmt"
"log"
"os"
"os/signal"
"path/filepath"
@ -37,7 +38,6 @@ import (
"github.com/sipeed/picoclaw/pkg/tools"
)
func gatewayCmd(debug bool) error {
if debug {
logger.SetLevel(logger.DEBUG)
@ -227,6 +227,7 @@ func setupCronTool(
if err != nil {
log.Fatalf("Critical error during CronTool initialization: %v", err)
}
agentLoop.RegisterTool(cronTool)
// Set the onJob handler