-
Notifications
You must be signed in to change notification settings - Fork 2.8k
build: ui build error #2975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: ui build error #2975
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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<boolean>(false) | ||
| defineOptions({ name: 'AiChat' }) | ||
| const route = useRoute() | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
These points address common issues that may arise during code evaluation and suggest improvements to enhance its quality and efficiency. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is generally correct. However, there's an unnecessary conversion from
workerto a string when passing it as an argument with'--workers'. This doesn't make sense because the-wflag expects an integer value.Here is the corrected version of the command:
Remove the
str(worker)part after-w, sinceworkeris already an integer and should be used directly without converting it.