Skip to content

fix: improve ask AI rewrite resilience - #52

Merged
variablenix merged 1 commit into
mainfrom
fix/ask-ai-rewrite-resilience
Aug 2, 2026
Merged

fix: improve ask AI rewrite resilience#52
variablenix merged 1 commit into
mainfrom
fix/ask-ai-rewrite-resilience

Conversation

@variablenix

Copy link
Copy Markdown
Owner

Summary

  • retry provider meta-text once with a stricter answer-only prompt within the original timeout
  • classify explicit insufficient-source responses accurately and preserve the source fallback
  • treat question/source content as untrusted prompt data
  • align examples and documentation on an instruction-tuned free OpenRouter model

Verification

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • go mod verify
  • git diff --check

@variablenix
variablenix merged commit f6fbf84 into main Aug 2, 2026
3 checks passed
@variablenix
variablenix deleted the fix/ask-ai-rewrite-resilience branch August 2, 2026 19:41
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