Skip to content

Commit 499d985

Browse files
committed
fix(search): let the guidance alone say how to recover from a search nothing served
1 parent 190dac4 commit 499d985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/mothership/tools/server/knowledge/workspace-search.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const searchWorkspaceServerTool: BaseServerTool = {
9090
return {
9191
success: true,
9292
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.'
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 instead of retrying the same search.'
9494
: `${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}`,
9595
data: {
9696
...data,

0 commit comments

Comments
 (0)