Skip to content

warn user if no sources or collections specified#120

Merged
rahulbot merged 1 commit into
mainfrom
feature-user-feedback
May 5, 2026
Merged

warn user if no sources or collections specified#120
rahulbot merged 1 commit into
mainfrom
feature-user-feedback

Conversation

@rahulbot
Copy link
Copy Markdown
Contributor

@rahulbot rahulbot commented May 4, 2026

Another tiny change - add a warning if the user queries with no sources or collections. Maybe they'll see it, maybe they won't, but it's a first step in advising better usage when they use the API client. Includes unit test.

Other ideas we've discussed:

  • throwing an error in api client to not allow this kind of usage
  • adding a check on server to reject no-source/no-collection queries unless user is admin

@rahulbot rahulbot requested a review from philbudne May 4, 2026 14:52
@rahulbot rahulbot merged commit af50b2a into main May 5, 2026
2 checks passed
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.

2 participants