diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 03:57:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 03:57:43 +0200 |
| commit | 9e8ca4696f4fcbc1657eb7802aa52f8684fab202 (patch) | |
| tree | d72ad28ad4b0865a11e1bbc318e03e642513cb7e /internal/hexaiaction/prompts_more_test.go | |
| parent | 180ffa0c42002603ebbca56ddc98cb2d7fb71b04 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/hexaiaction/prompts_more_test.go')
| -rw-r--r-- | internal/hexaiaction/prompts_more_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |
