"llm/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "ed195f3562f2470ff7ac5cff8ce4ab93a98fefb8"
Commit dd7ac4c5 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: search

parent 4601a024
...@@ -72,7 +72,9 @@ ...@@ -72,7 +72,9 @@
<hr class=" dark:border-gray-850 my-2.5" /> <hr class=" dark:border-gray-850 my-2.5" />
<div class="my-3 mb-5"> <div class="my-3 mb-5">
{#each $tools.filter((t) => query === '' || t.name.includes(query)) as tool} {#each $tools.filter((t) => query === '' || t.name
.toLowerCase()
.includes(query.toLowerCase()) || t.id.toLowerCase().includes(query.toLowerCase())) as tool}
<div <div
class=" flex space-x-4 cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl" class=" flex space-x-4 cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl"
> >
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment