From 9e8ca4696f4fcbc1657eb7802aa52f8684fab202 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 16 Mar 2026 03:57:43 +0200 Subject: Merge runOnce and runOnceWithOpts in hexaiaction/prompts.go Consolidate near-identical functions into a single runOnce that accepts requestArgs (callers pass zero-value when no options needed). Co-Authored-By: Claude Opus 4.6 --- internal/hexaiaction/prompts_more_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/hexaiaction/prompts_more_test.go') diff --git a/internal/hexaiaction/prompts_more_test.go b/internal/hexaiaction/prompts_more_test.go index 67672fb..1d7fa67 100644 --- a/internal/hexaiaction/prompts_more_test.go +++ b/internal/hexaiaction/prompts_more_test.go @@ -22,7 +22,7 @@ func ptrFloat(v float64) *float64 { } func TestRunOnce_StripsFences(t *testing.T) { - got, err := runOnce(context.Background(), simpleDoer{"```\nok\n```"}, "SYS", "USER") + got, err := runOnce(context.Background(), simpleDoer{"```\nok\n```"}, "SYS", "USER", requestArgs{}) if err != nil { t.Fatalf("runOnce: %v", err) } -- cgit v1.2.3