We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b44367a commit 1ce8c04Copy full SHA for 1ce8c04
frontend/app/[locale]/setup/modelSetup/model/ModelDeleteDialog.tsx
@@ -351,7 +351,7 @@ export const ModelDeleteDialog = ({
351
pendingSelectedProviderIds.has(pm.id)
352
)
353
354
- if (allEnabledModels.length >= 0) {
+ if (allEnabledModels) {
355
const apiKey = getApiKeyByType(deletingModelType)
356
// Pass all currently enabled models
357
await modelService.addBatchCustomModel({
0 commit comments