fix(chat): guard skill autocomplete tab (#1155)
Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
committed by
GitHub
co-authored by
Isaac Sanchez
parent
98ef2e87a1
commit
817fafbe29
@@ -1776,7 +1776,7 @@ const ChatInputComponent: React.FC<ChatInputProps> = ({ onOpenSettings, scrollTo
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.key === 'Tab' && !showCommandAutocomplete && !showFileMention) {
|
if (e.key === 'Tab' && !showCommandAutocomplete && !showSkillAutocomplete && !showFileMention) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
handleCycleAgent();
|
handleCycleAgent();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user