diff --git a/web-app/package.json b/web-app/package.json index ad82e5688..8b3193817 100644 --- a/web-app/package.json +++ b/web-app/package.json @@ -65,7 +65,7 @@ "remark-math": "^6.0.0", "sonner": "^2.0.3", "tailwindcss": "^4.1.4", - "token.js": "npm:token.js-fork@0.7.5", + "token.js": "npm:token.js-fork@0.7.9", "tw-animate-css": "^1.2.7", "ulidx": "^2.4.1", "unified": "^11.0.5", diff --git a/web-app/src/containers/DropdownModelProvider.tsx b/web-app/src/containers/DropdownModelProvider.tsx index 5b125282a..0747a1ad1 100644 --- a/web-app/src/containers/DropdownModelProvider.tsx +++ b/web-app/src/containers/DropdownModelProvider.tsx @@ -391,14 +391,9 @@ const DropdownModelProvider = ({ )} >
- + + {searchableModel.model.id} +
{!isProd && capabilities.length > 0 && ( diff --git a/web-app/src/containers/ThreadList.tsx b/web-app/src/containers/ThreadList.tsx index 0702c1bf9..9e3df65c1 100644 --- a/web-app/src/containers/ThreadList.tsx +++ b/web-app/src/containers/ThreadList.tsx @@ -101,9 +101,7 @@ const SortableItem = memo(({ thread }: { thread: Thread }) => { )} >
- + {thread.title || 'New Thread'}
currentThreadId?: string @@ -68,12 +68,10 @@ export const useThreads = create()((set, get) => ({ return fzfResults.map( (result: { item: Thread; positions: Set }) => { const thread = result.item // Fzf stores the original item here - // Ensure result.positions is an array, default to empty if undefined - const positions = Array.from(result.positions) || [] - const highlightedTitle = highlightFzfMatch(thread.title, positions) + return { ...thread, - title: highlightedTitle, // Override title with highlighted version + title: thread.title, // Override title with highlighted version } } )