diff --git a/ee/tabby-ui/components/prompt-form.tsx b/ee/tabby-ui/components/prompt-form.tsx index 165c4c9..706b53e 100644 --- a/ee/tabby-ui/components/prompt-form.tsx +++ b/ee/tabby-ui/components/prompt-form.tsx @@ -79,7 +79,7 @@ export function PromptForm({ 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)