;
+ if (archiveExtensions.includes(extension))
+ return | + {t("fileManagement.fileName")} + | + {/*+ {t("fileManagement.fileType")} + | */} ++ {t("fileManagement.fileSize")} + | ++ {t("fileManagement.updatedAt")} + | ++ {t("fileManagement.actions")} + | +
|---|---|---|---|---|
|
+
+ {getFileIcon(file)}
+ {file.name}
+
+ |
+ {/* + {file.type.split("/").pop() || "Unknown"} + | */} ++ {formatFileSize(file.size)} + | ++ {formatDate(file.updatedAt)} + | +
+
+ {/* */}
+
+
+
+
+ |
+
+ {t("fileManagement.noFiles")} +
++ {t("fileManagement.noFilesDescription")} +
+{translatedText}
+ <> +{translatedText}
+ + > ) : ({t('translation.resultPlaceholder')}
diff --git a/src/components/settings/ApiManagement.tsx b/src/components/settings/ApiManagement.tsx index 8f2eb27..d766c74 100644 --- a/src/components/settings/ApiManagement.tsx +++ b/src/components/settings/ApiManagement.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { ChevronRight, Plus, Trash2, Edit2, Search, X, Brain, Eye, Wrench, Type, Database, EyeOff } from 'lucide-react'; +import { ChevronRight, Plus, Trash2, Edit2, Search, X, Brain, Eye, Wrench, Type, Database, EyeOff, Image } from 'lucide-react'; import { ProviderSettings, ModelSettings } from '../../types/settings'; import { AIServiceCapability } from '../../types/capabilities'; import { v4 as uuidv4 } from 'uuid'; @@ -198,6 +198,8 @@ export const ApiManagement: React.FC- Select the model you want to use by default for new conversations. -
- -