Spaces:
Running
Running
Commit
·
7350e8f
1
Parent(s):
ec2164f
Restore agents filter button and update search filter logic
Browse files- index.html +3 -3
index.html
CHANGED
@@ -163,7 +163,7 @@
|
|
163 |
);
|
164 |
data = await res.json();
|
165 |
} else {
|
166 |
-
const searchFilters = this.filter === 'tool' ? 'tool' : '
|
167 |
let searchUrl;
|
168 |
if (this.searchQuery) {
|
169 |
if (this.searchType === 'semantic') {
|
@@ -261,12 +261,12 @@
|
|
261 |
>
|
262 |
Tools
|
263 |
</button>
|
264 |
-
|
265 |
:class="buttonClass('filter', 'agent')"
|
266 |
@click="filterType('agent')"
|
267 |
>
|
268 |
Agents
|
269 |
-
</button>
|
270 |
</div>
|
271 |
<div class="flex gap-2">
|
272 |
<span class="md:px-3 py-1 text-gray-800">sort by</span>
|
|
|
163 |
);
|
164 |
data = await res.json();
|
165 |
} else {
|
166 |
+
const searchFilters = this.filter === 'tool' ? 'tool' : 'smolagents';
|
167 |
let searchUrl;
|
168 |
if (this.searchQuery) {
|
169 |
if (this.searchType === 'semantic') {
|
|
|
261 |
>
|
262 |
Tools
|
263 |
</button>
|
264 |
+
<button
|
265 |
:class="buttonClass('filter', 'agent')"
|
266 |
@click="filterType('agent')"
|
267 |
>
|
268 |
Agents
|
269 |
+
</button>
|
270 |
</div>
|
271 |
<div class="flex gap-2">
|
272 |
<span class="md:px-3 py-1 text-gray-800">sort by</span>
|