feat: add SkillAutocomplete component and integrate skill selection in ChatInput

This commit is contained in:
Bohdan Triapitsyn
2026-01-08 19:58:31 +02:00
parent b9ed2217a6
commit a2f2d91a22
5 changed files with 251 additions and 12 deletions
@@ -229,7 +229,7 @@ export const CommandAutocomplete = React.forwardRef<CommandAutocompleteHandle, C
ref={containerRef}
className="absolute z-[100] min-w-0 w-full max-w-[450px] max-h-64 bg-background border border-border rounded-xl shadow-none bottom-full mb-2 left-0 flex flex-col"
>
<ScrollableOverlay outerClassName="flex-1 min-h-0" className="px-0">
<ScrollableOverlay outerClassName="flex-1 min-h-0" className="px-0 pb-2" fillContainer={false}>
{loading ? (
<div className="flex items-center justify-center py-4">
<RiRefreshLine className="h-4 w-4 animate-spin text-muted-foreground" />