From ae0a2c0fc9e7782b18a65de49e309f703c4bfe32 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 2 Mar 2026 14:06:43 +0200 Subject: llmutils: remove remaining default-model wrappers in callers (task 413) --- internal/hexaicli/run.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'internal/hexaicli') 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 { -- cgit v1.2.3