From d85801fe5864109dbddb2d8ecaa527735d5c8269 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Thu, 24 Apr 2025 16:39:01 +0800 Subject: [PATCH] build: ui build error (#2975) --- .../common/management/commands/services/services/local_model.py | 2 +- ui/src/components/ai-chat/index.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/common/management/commands/services/services/local_model.py b/apps/common/management/commands/services/services/local_model.py index c0e0c1fd3..05f4f5610 100644 --- a/apps/common/management/commands/services/services/local_model.py +++ b/apps/common/management/commands/services/services/local_model.py @@ -30,7 +30,7 @@ class GunicornLocalModelService(BaseService): '-b', bind, '-k', 'gthread', '--threads', '200', - '-w', worker, + '-w', str(worker), '--max-requests', '10240', '--max-requests-jitter', '2048', '--access-logformat', log_format, diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 59863ca14..47ba53e19 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -115,7 +115,6 @@ import UserForm from '@/components/ai-chat/component/user-form/index.vue' import Control from '@/components/ai-chat/component/control/index.vue' import { t } from '@/locales' import bus from '@/bus' -import { fa } from 'element-plus/es/locale' const transcribing = ref(false) defineOptions({ name: 'AiChat' }) const route = useRoute()