Skip to content

PR #11: /browse reachable toggle applies freshness window#11

Open
khalidsaidi wants to merge 1 commit intomainfrom
feat/browse-reachable-freshness-default
Open

PR #11: /browse reachable toggle applies freshness window#11
khalidsaidi wants to merge 1 commit intomainfrom
feat/browse-reachable-freshness-default

Conversation

@khalidsaidi
Copy link
Owner

Summary

  • update /browse filters to add a Checked within control (6h/24h/72h)
  • when Reachable is enabled, include reachableMaxAgeHours in /rag/top and /rag/search requests
  • when Reachable is disabled, do not send reachableMaxAgeHours
  • auto-refresh results when Reachable toggles or freshness window changes
  • default freshness window is 24h

Validation

  • pnpm -r test

Behavior checks:

  • Reachable on => requests include reachable=true&reachableMaxAgeHours=<value>
  • Reachable off => no reachableMaxAgeHours param is sent

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