Skip to content

Improve first-attempt ask consistency - #133

Merged
variablenix merged 1 commit into
mainfrom
feat/ask-consistent-first-attempt
Aug 16, 2026
Merged

Improve first-attempt ask consistency#133
variablenix merged 1 commit into
mainfrom
feat/ask-consistent-first-attempt

Conversation

@variablenix

Copy link
Copy Markdown
Owner

Summary

  • bound each !ask provider so a slow Search Assist request cannot consume the full lookup window
  • retry transient DuckDuckGo Instant Answer responses within the same invocation
  • wait for rendered DuckDuckGo result cards and reuse one captured browser result across fallback decisions
  • cache successful normalized questions briefly to avoid repeated provider races
  • add regression coverage and document cache_seconds

Verification

  • go test ./...
  • go vet ./...
  • go test -race ./plugins
  • git diff --check
  • go build -o /tmp/GoBot-irc-bot-build ./cmd/irc-bot

@variablenix
variablenix merged commit 754b3e6 into main Aug 16, 2026
3 checks passed
@variablenix
variablenix deleted the feat/ask-consistent-first-attempt branch August 16, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant