diff --git a/ee/tabby-ui/app/search/components/assistant-message-section.tsx b/ee/tabby-ui/app/search/components/assistant-message-section.tsx index 940725f1be2c..7792cf05f7dd 100644 --- a/ee/tabby-ui/app/search/components/assistant-message-section.tsx +++ b/ee/tabby-ui/app/search/components/assistant-message-section.tsx @@ -329,27 +329,32 @@ export function AssistantMessageSection({ {!isLoading && !isEditing && (
- {!isLoading && - !fetchingContextInfo && - isLastAssistantMessage && ( - - )} - {isDeletable && ( - + {isThreadOwner && ( + <> + {!isLoading && + !fetchingContextInfo && + isLastAssistantMessage && ( + + )} + + {isDeletable && ( + + )} + )}
diff --git a/ee/tabby-ui/app/search/components/search.tsx b/ee/tabby-ui/app/search/components/search.tsx index 434cbe9a2738..fdfdd5ae2afd 100644 --- a/ee/tabby-ui/app/search/components/search.tsx +++ b/ee/tabby-ui/app/search/components/search.tsx @@ -827,7 +827,11 @@ export function Search() { : {} )} > -
+
{stopButtonVisible && (
-
- -
+ {isThreadOwner && ( +
+ +
+ )}