diff options
Diffstat (limited to 'internal/hexaicli/run.go')
| -rw-r--r-- | internal/hexaicli/run.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/hexaicli/run.go b/internal/hexaicli/run.go index 4cb9e01..85a3fdd 100644 --- a/internal/hexaicli/run.go +++ b/internal/hexaicli/run.go @@ -95,7 +95,7 @@ func buildCLIRequest(entry appconfig.SurfaceConfig, provider string, cfg appconf model = strings.TrimSpace(client.DefaultModel()) } if model == "" { - model = strings.TrimSpace(defaultModelForProvider(cfg, provider)) + model = strings.TrimSpace(llmutils.DefaultModelForProvider(cfg, provider)) } } if entry.Model != "" { @@ -128,10 +128,6 @@ func canonicalProvider(name string) string { return llmutils.CanonicalProvider(name) } -func defaultModelForProvider(cfg appconfig.App, provider string) string { - return llmutils.DefaultModelForProvider(cfg, provider) -} - // Run executes the Hexai CLI behavior given arguments and I/O streams. // It assumes flags have already been parsed by the caller. func Run(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer) error { |
