You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 190dac4
Browse filesBrowse the repository at this point in the historyBrowse files
fix(search): search nothing for a Confluence query with no words and stop the Assistant retrying unsearchable searches
A query left with no words after the colon and backslash become spaces would
list every Confluence page, so it now searches nothing on both the member and
service-account paths. The Assistant search tool reports a search no account
served as nothing searched instead of advising a narrower retry, and the
organization search E2E asserts the connect prompt the unconnected member sees.
message: `${data.retrieval.status==='partial' ? 'Search coverage is incomplete. Continue with a more specific query or source filter; these results cannot establish absence or completeness. ' : ''}Found ${data.results.length} live results. Read a documentId when its passage does not answer the question or more context is needed. ${CITATION_INSTRUCTION}`,
92
+
message: nothingSearched
93
+
? 'Nothing was searched: no connected account can serve this search, so it says nothing about what exists. Follow the first line of live.guidance (connect an account, or drop the source filter) instead of retrying the same search.'
94
+
: `${data.retrieval.status==='partial' ? 'Search coverage is incomplete. Continue with a more specific query or source filter; these results cannot establish absence or completeness. ' : ''}Found ${data.results.length} live results. Read a documentId when its passage does not answer the question or more context is needed. ${CITATION_INSTRUCTION}`,
0 commit comments