diff --git a/src/pages/playground/components/ground-reranker.tsx b/src/pages/playground/components/ground-reranker.tsx index 55dfae09..151e895e 100644 --- a/src/pages/playground/components/ground-reranker.tsx +++ b/src/pages/playground/components/ground-reranker.tsx @@ -580,6 +580,7 @@ const GroundReranker: React.FC = forwardRef((props, ref) => { onChange={handleTextListChange} onSort={handleOnSort} extra={renderPercent} + onSelect={handleonSelect} onPaste={handleOnPaste} > {isEmptyText && ( diff --git a/src/pages/playground/components/input-list.tsx b/src/pages/playground/components/input-list.tsx index e882c3ff..1590adbf 100644 --- a/src/pages/playground/components/input-list.tsx +++ b/src/pages/playground/components/input-list.tsx @@ -36,6 +36,7 @@ interface InputListProps { end: number; beforeText: string; afterText: string; + index: number; }) => void; }