summaryrefslogtreecommitdiff
path: root/internal/hexaiaction/prompts.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-16 04:03:37 +0200
committerPaul Buetow <paul@buetow.org>2026-03-16 04:03:37 +0200
commit256eccd3f5b40d73c96d69316ecbc170c2159e57 (patch)
tree1fa6919636221aac451799b8cb7adb8d0f60d839 /internal/hexaiaction/prompts.go
parent5100880aefb7a8da7efb59ee32b181b18de4b705 (diff)
Rename timeout helpers to match actual durations (timeout20s, timeout18s)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/hexaiaction/prompts.go')
-rw-r--r--internal/hexaiaction/prompts.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/hexaiaction/prompts.go b/internal/hexaiaction/prompts.go
index 27c1b2e..2424819 100644
--- a/internal/hexaiaction/prompts.go
+++ b/internal/hexaiaction/prompts.go
@@ -191,10 +191,10 @@ func reqOptsFrom(cfg actionConfig) requestArgs {
}
// Timeout helpers to mirror LSP behavior.
-func timeout10s(parent context.Context) (context.Context, context.CancelFunc) {
+func timeout20s(parent context.Context) (context.Context, context.CancelFunc) {
return context.WithTimeout(parent, 20*time.Second)
}
-func timeout8s(parent context.Context) (context.Context, context.CancelFunc) {
+func timeout18s(parent context.Context) (context.Context, context.CancelFunc) {
return context.WithTimeout(parent, 18*time.Second)
}