From 35f1097f473e51be82f68e93ea2db48dd1c98519 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 16 Mar 2026 03:55:40 +0200 Subject: Fix mixed pointer/value receivers on appconfig.App Change all value receivers on App to pointer receivers for consistency. Update callers that pass App values to pass pointers where needed for the actionConfig interface. Co-Authored-By: Claude Opus 4.6 --- internal/hexaiaction/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/hexaiaction/run.go') diff --git a/internal/hexaiaction/run.go b/internal/hexaiaction/run.go index bf36f2f..f36b0cf 100644 --- a/internal/hexaiaction/run.go +++ b/internal/hexaiaction/run.go @@ -123,7 +123,7 @@ func (r *Runner) Run(ctx context.Context, stdin io.Reader, stdout, stderr io.Wri _, _ = fmt.Fprintf(stderr, logging.AnsiBase+"hexai-tmux-action: LLM disabled: %v"+logging.AnsiReset+"\n", err) return err } - primaryModel := strings.TrimSpace(reqOptsFrom(cfg).model) + primaryModel := strings.TrimSpace(reqOptsFrom(&cfg).model) if primaryModel == "" { primaryModel = cli.DefaultModel() } @@ -141,7 +141,7 @@ func (r *Runner) Run(ctx context.Context, stdin io.Reader, stdout, stderr io.Wri if err != nil { return err } - out, err := executeAction(ctx, choice.kind, parts, cfg, client, stderr, choice.custom) + out, err := executeAction(ctx, choice.kind, parts, &cfg, client, stderr, choice.custom) if err != nil { return err } -- cgit v1.2.3