diff options
Diffstat (limited to 'internal/cli/run.go')
| -rw-r--r-- | internal/cli/run.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/cli/run.go b/internal/cli/run.go index 771c7b7..1c53b1a 100644 --- a/internal/cli/run.go +++ b/internal/cli/run.go @@ -8,6 +8,7 @@ import ( "syscall" "github.com/thepeterstone/claudomator/internal/executor" + "github.com/thepeterstone/claudomator/internal/provider/openaicompat" "github.com/thepeterstone/claudomator/internal/storage" "github.com/thepeterstone/claudomator/internal/task" "github.com/spf13/cobra" @@ -106,11 +107,12 @@ func runTasks(file string, parallel int, dryRun bool) error { localClient := buildLocalLLMClient(cfg.LocalModel, logger) if localClient != nil && cfg.Runners.LocalEnabled() { - runners["local"] = &executor.LocalRunner{ - Client: localClient, + runners["local"] = &executor.NativeRunner{ + Provider: openaicompat.New(localClient), Logger: logger, LogDir: cfg.LogDir, DefaultTemperature: cfg.LocalModel.DefaultTemperature, + DefaultModel: cfg.LocalModel.Model, } } |
