diff --git a/ee/tabby-ui/components/prompt-form.tsx b/ee/tabby-ui/components/prompt-form.tsx index dcbe38a..38c2c9b 100644 --- a/ee/tabby-ui/components/prompt-form.tsx +++ b/ee/tabby-ui/components/prompt-form.tsx @@ -99,7 +99,7 @@ function PromptFormRenderer( const queryNameMatches = getSearchCompletionQueryName(value, end) const queryName = queryNameMatches?.[1] if (queryName) { - const query = encodeURIComponent(`name:${queryName} kind:function`) + const query = encodeURIComponent(`name:${queryName} AND kind:function`) const url = `/v1beta/search?q=${query}` latestFetchKey.current = url setQueryCompletionUrl(url)