Spaces:
Runtime error
Runtime error
:sparkles: update model cache constructor to include all models
Browse filesWhy?
Time of use is very different than time of cache. If the model is supported, it belongs in the list, and lets work on the uptime problems separately.
- cache-working-models.sh +1 -1
cache-working-models.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
my_jq_query=$(cat << JQ
|
4 |
-
[.data[] | select(.
|
5 |
| [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries
|
6 |
JQ
|
7 |
)
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
my_jq_query=$(cat << JQ
|
4 |
+
[.data[] | select(.model_class)]
|
5 |
| [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries
|
6 |
JQ
|
7 |
)
|