refac
Some checks failed
Deploy to HuggingFace Spaces / check-secret (push) Successful in 17s
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Failing after 2m29s
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Failing after 2m37s
Create and publish Docker images with specific build args / merge-main-images (push) Has been skipped
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Failing after 2m51s
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Failing after 4m20s
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been skipped
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Failing after 1m57s
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Failing after 2m6s
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been skipped
Python CI / Format Backend (3.11) (push) Failing after 1m1s
Frontend Build / Format & Build Frontend (push) Failing after 58s
Frontend Build / Frontend Unit Tests (push) Failing after 57s
Integration Test / Run Cypress Integration Tests (push) Failing after 1m55s
Integration Test / Run Migration Tests (push) Failing after 1m15s
Deploy to HuggingFace Spaces / deploy (push) Has been skipped

This commit is contained in:
Timothy Jaeryang Baek 2024-11-19 03:18:40 -08:00
parent 53103c3bd7
commit 5c4124ebe5
2 changed files with 1 additions and 4 deletions

View File

@ -238,10 +238,6 @@
}; };
onMount(async () => { onMount(async () => {
if (!$tools) {
await tools.set(await getTools(localStorage.token));
}
loaded = true; loaded = true;
window.setTimeout(() => { window.setTimeout(() => {

View File

@ -95,6 +95,7 @@
models.set(await getModels(localStorage.token)); models.set(await getModels(localStorage.token));
banners.set(await getBanners(localStorage.token)); banners.set(await getBanners(localStorage.token));
tools.set(await getTools(localStorage.token));
document.addEventListener('keydown', function (event) { document.addEventListener('keydown', function (event) {
const isCtrlPressed = event.ctrlKey || event.metaKey; // metaKey is for Cmd key on Mac const isCtrlPressed = event.ctrlKey || event.metaKey; // metaKey is for Cmd key on Mac