diff --git a/ee/tabby-ui/components/prompt-form.tsx b/ee/tabby-ui/components/prompt-form.tsx index 20bd822b0068..cc20f5fa032f 100644 --- a/ee/tabby-ui/components/prompt-form.tsx +++ b/ee/tabby-ui/components/prompt-form.tsx @@ -118,6 +118,7 @@ function PromptFormRenderer( }, []) const handleCompletionSelect = (item: ISearchHit) => { + /* const selectionEnd = prevInputSelectionEnd.current ?? 0 const queryNameMatches = getSearchCompletionQueryName(input, selectionEnd) if (queryNameMatches) { @@ -137,6 +138,7 @@ function PromptFormRenderer( } setOptions([]) setSuggestionOpen(false) + */ } const handlePromptSubmit: React.FormEventHandler<