fix: speed up fff file search (#31366)

This commit is contained in:
Shoubhit Dash
2026-06-08 19:09:55 +05:30
committed by GitHub
parent 1772e8ee6e
commit b1a6c40ad0
7 changed files with 68 additions and 39 deletions
@@ -658,6 +658,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
},
key: atKey,
filterKeys: ["display"],
skipFilter: (item) => item.type === "file" && !item.recent,
groupBy: (item) => {
if (item.type === "agent") return "agent"
if (item.recent) return "recent"