From d51825d74c12bd2bf38cc97fcdcd8b2813da0dc7 Mon Sep 17 00:00:00 2001
From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com>
Date: Fri, 20 Mar 2026 14:36:06 +0000
Subject: [PATCH] [autofix.ci] apply automated fixes
---
.../CustomNodes/helpers/mutate-template.ts | 9 +-
.../components/AccountMenu/index.tsx | 4 +-
.../core/csvOutputComponent/index.tsx | 12 ++-
.../components/header-buttons.tsx | 4 +-
.../components/select-options.tsx | 6 +-
.../components/tableComponent/index.tsx | 10 +-
.../components/core/pdfViewer/Error/index.tsx | 8 +-
.../core/pdfViewer/noData/index.tsx | 4 +-
src/frontend/src/locales/de.json | 2 +-
src/frontend/src/locales/es.json | 2 +-
src/frontend/src/locales/fr.json | 2 +-
src/frontend/src/locales/ja.json | 2 +-
src/frontend/src/locales/pt.json | 2 +-
src/frontend/src/locales/zh-Hans.json | 2 +-
.../IOModal/components/chat-view-wrapper.tsx | 6 +-
.../chatInput/hooks/use-file-handler.ts | 4 +-
.../src/modals/IOModal/playground-modal.tsx | 4 +-
src/frontend/src/modals/apiModal/index.tsx | 12 ++-
.../src/modals/mustachePromptModal/index.tsx | 4 +-
src/frontend/src/modals/queryModal/index.tsx | 4 +-
.../src/modals/secretKeyModal/index.tsx | 4 +-
.../src/pages/AdminPage/LoginPage/index.tsx | 4 +-
src/frontend/src/pages/AdminPage/index.tsx | 37 +++++---
.../components/InspectionPanelField.tsx | 5 +-
.../components/emptySearchComponent.tsx | 3 +-
.../components/sidebarHeader.tsx | 5 +-
src/frontend/src/pages/LoginPage/index.tsx | 6 +-
.../pages/MainPage/pages/homePage/index.tsx | 6 +-
.../components/ApiKeyHeader/index.tsx | 4 +-
.../pages/GlobalVariablesPage/index.tsx | 4 +-
src/frontend/src/pages/SignUpPage/index.tsx | 10 +-
src/frontend/src/pages/StorePage/index.tsx | 30 +++---
.../shared/hooks/use-file-size-validator.ts | 4 +-
.../src/stores/__tests__/flowStore.test.ts | 1 -
src/frontend/src/utils/styleUtils.ts | 94 +++++++++++++++----
35 files changed, 224 insertions(+), 96 deletions(-)
diff --git a/src/frontend/src/CustomNodes/helpers/mutate-template.ts b/src/frontend/src/CustomNodes/helpers/mutate-template.ts
index e3a44dbf63..97eb57b4cd 100644
--- a/src/frontend/src/CustomNodes/helpers/mutate-template.ts
+++ b/src/frontend/src/CustomNodes/helpers/mutate-template.ts
@@ -1,8 +1,6 @@
import type { UseMutationResult } from "@tanstack/react-query";
import { cloneDeep, debounce } from "lodash";
-import {
- SAVE_DEBOUNCE_TIME,
-} from "@/constants/constants";
+import { SAVE_DEBOUNCE_TIME } from "@/constants/constants";
import i18n from "../../i18n";
import type { APIClassType, ResponseErrorDetailAPI } from "@/types/api";
import { updateHiddenOutputs } from "./update-hidden-outputs";
@@ -77,7 +75,10 @@ export const mutateTemplate = async (
const error = e as ResponseErrorDetailAPI;
setErrorData({
title: i18n.t("input.titleErrorUpdatingComponent"),
- list: [error.response?.data?.detail || i18n.t("input.errorUpdatingComponent")],
+ list: [
+ error.response?.data?.detail ||
+ i18n.t("input.errorUpdatingComponent"),
+ ],
});
}
},
diff --git a/src/frontend/src/components/core/appHeaderComponent/components/AccountMenu/index.tsx b/src/frontend/src/components/core/appHeaderComponent/components/AccountMenu/index.tsx
index 202bea0e5a..891f222b6e 100644
--- a/src/frontend/src/components/core/appHeaderComponent/components/AccountMenu/index.tsx
+++ b/src/frontend/src/components/core/appHeaderComponent/components/AccountMenu/index.tsx
@@ -79,7 +79,9 @@ export const AccountMenu = () => {
)}
>
{version}{" "}
- {isLatestVersion ? t("account.latest") : t("account.updateAvailable")}
+ {isLatestVersion
+ ? t("account.latest")
+ : t("account.updateAvailable")}
diff --git a/src/frontend/src/components/core/csvOutputComponent/index.tsx b/src/frontend/src/components/core/csvOutputComponent/index.tsx
index 89f6e5becb..212b3f77f3 100644
--- a/src/frontend/src/components/core/csvOutputComponent/index.tsx
+++ b/src/frontend/src/components/core/csvOutputComponent/index.tsx
@@ -36,7 +36,9 @@ function CsvOutputComponent({
-
{t("output.csvError")}
+
+ {t("output.csvError")}
+
@@ -87,7 +89,9 @@ function CsvOutputComponent({
-
{t("output.csvNoData")}
+
+ {t("output.csvNoData")}
+
@@ -100,7 +104,9 @@ function CsvOutputComponent({
-
{t("output.csvError")}
+
+ {t("output.csvError")}
+
diff --git a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx
index 6f0494f11b..e505c7a147 100644
--- a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx
+++ b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx
@@ -81,7 +81,9 @@ export const HeaderButtons = ({
- {t("sidebar.projects")}
+
+ {t("sidebar.projects")}
+
-
+
(
(
- {
- alertTitle,
- alertDescription,
- displayEmptyAlert = true,
- ...props
- },
+ { alertTitle, alertDescription, displayEmptyAlert = true, ...props },
ref,
) => {
const { t } = useTranslation();
const resolvedAlertTitle = alertTitle ?? t("table.noDataTitle");
- const resolvedAlertDescription = alertDescription ?? t("table.noDataMessage");
+ const resolvedAlertDescription =
+ alertDescription ?? t("table.noDataMessage");
const isSingleToggleRowEditable = (
colField: string,
rowData: any,
diff --git a/src/frontend/src/components/core/pdfViewer/Error/index.tsx b/src/frontend/src/components/core/pdfViewer/Error/index.tsx
index e6bcd689b5..d4f0e950f3 100644
--- a/src/frontend/src/components/core/pdfViewer/Error/index.tsx
+++ b/src/frontend/src/components/core/pdfViewer/Error/index.tsx
@@ -8,11 +8,15 @@ export default function ErrorComponent(): JSX.Element {
- {t("output.pdfLoadErrorTitle")}
+
+ {t("output.pdfLoadErrorTitle")}
+
- {t("output.pdfCheckFlow")}
+
+ {t("output.pdfCheckFlow")}{" "}
+
diff --git a/src/frontend/src/components/core/pdfViewer/noData/index.tsx b/src/frontend/src/components/core/pdfViewer/noData/index.tsx
index 8de372e07e..b66a6146e0 100644
--- a/src/frontend/src/components/core/pdfViewer/noData/index.tsx
+++ b/src/frontend/src/components/core/pdfViewer/noData/index.tsx
@@ -10,7 +10,9 @@ export default function NoDataPdf(): JSX.Element {
- {t("output.pdfLoadError")}
+
+ {t("output.pdfLoadError")}{" "}
+
diff --git a/src/frontend/src/locales/de.json b/src/frontend/src/locales/de.json
index 4ea7e323a8..97d2be7121 100644
--- a/src/frontend/src/locales/de.json
+++ b/src/frontend/src/locales/de.json
@@ -381,4 +381,4 @@
"table.noColumnTitle": "Keine Spaltendefinitionen",
"table.noDataMessage": "Hoppla! Es scheint, als gäbe es derzeit keine Daten, die angezeigt werden könnten. Bitte versuchen Sie es später noch einmal.",
"table.noDataTitle": "Keine Daten verfügbar"
-}
\ No newline at end of file
+}
diff --git a/src/frontend/src/locales/es.json b/src/frontend/src/locales/es.json
index c6753cde94..5a2e4251f2 100644
--- a/src/frontend/src/locales/es.json
+++ b/src/frontend/src/locales/es.json
@@ -381,4 +381,4 @@
"table.noColumnTitle": "No hay definiciones de columnas",
"table.noDataMessage": "¡Ups! Parece que no hay datos que mostrar en este momento. Vuelve a intentarlo más tarde.",
"table.noDataTitle": "No hay datos disponibles"
-}
\ No newline at end of file
+}
diff --git a/src/frontend/src/locales/fr.json b/src/frontend/src/locales/fr.json
index 842a229cd5..31cd1b1cf8 100644
--- a/src/frontend/src/locales/fr.json
+++ b/src/frontend/src/locales/fr.json
@@ -381,4 +381,4 @@
"table.noColumnTitle": "Aucune définition de colonne",
"table.noDataMessage": "Oups ! Il semble qu'il n'y ait aucune donnée à afficher pour le moment. Veuillez revenir plus tard.",
"table.noDataTitle": "Aucune donnée disponible"
-}
\ No newline at end of file
+}
diff --git a/src/frontend/src/locales/ja.json b/src/frontend/src/locales/ja.json
index 705960ed36..0df55626c5 100644
--- a/src/frontend/src/locales/ja.json
+++ b/src/frontend/src/locales/ja.json
@@ -381,4 +381,4 @@
"table.noColumnTitle": "列の定義がありません",
"table.noDataMessage": "申し訳ありません。 現在、表示するデータがないようです。 後ほど再度ご確認ください。",
"table.noDataTitle": "使用可能なデータがありません"
-}
\ No newline at end of file
+}
diff --git a/src/frontend/src/locales/pt.json b/src/frontend/src/locales/pt.json
index 4e8a590af2..64e13fa46b 100644
--- a/src/frontend/src/locales/pt.json
+++ b/src/frontend/src/locales/pt.json
@@ -381,4 +381,4 @@
"table.noColumnTitle": "Sem definições de colunas",
"table.noDataMessage": "Ops! Parece que não há dados para exibir no momento. Por favor, volte mais tarde.",
"table.noDataTitle": "Nenhum dado disponível"
-}
\ No newline at end of file
+}
diff --git a/src/frontend/src/locales/zh-Hans.json b/src/frontend/src/locales/zh-Hans.json
index b17e6abd87..96438442f5 100644
--- a/src/frontend/src/locales/zh-Hans.json
+++ b/src/frontend/src/locales/zh-Hans.json
@@ -381,4 +381,4 @@
"table.noColumnTitle": "没有列定义",
"table.noDataMessage": "糟糕! 目前似乎没有数据可显示。 请稍后再试。",
"table.noDataTitle": "无可用数据"
-}
\ No newline at end of file
+}
diff --git a/src/frontend/src/modals/IOModal/components/chat-view-wrapper.tsx b/src/frontend/src/modals/IOModal/components/chat-view-wrapper.tsx
index 565801d804..84529d6841 100644
--- a/src/frontend/src/modals/IOModal/components/chat-view-wrapper.tsx
+++ b/src/frontend/src/modals/IOModal/components/chat-view-wrapper.tsx
@@ -72,7 +72,11 @@ export const ChatViewWrapper = ({
playgroundPage ? "right-2 top-4" : "absolute right-12 top-2 h-8",
)}
>
-
+
{
const fileExtension = file.name.split(".").pop()?.toLowerCase();
if (file.size > maxFileSizeUpload) {
setErrorData({
- title: t("errors.fileTooLarge", { maxSizeMB: formatFileSize(maxFileSizeUpload) }),
+ title: t("errors.fileTooLarge", {
+ maxSizeMB: formatFileSize(maxFileSizeUpload),
+ }),
});
return;
}
diff --git a/src/frontend/src/modals/IOModal/playground-modal.tsx b/src/frontend/src/modals/IOModal/playground-modal.tsx
index 1a51165a75..378c320274 100644
--- a/src/frontend/src/modals/IOModal/playground-modal.tsx
+++ b/src/frontend/src/modals/IOModal/playground-modal.tsx
@@ -431,7 +431,9 @@ export default function IOModal({
className="w-full !rounded-xl shadow-lg"
>
- {t("modal.io.builtWithLangflow")}
+
+ {t("modal.io.builtWithLangflow")}
+
)}
diff --git a/src/frontend/src/modals/apiModal/index.tsx b/src/frontend/src/modals/apiModal/index.tsx
index d708d1c90c..5e6bc46529 100644
--- a/src/frontend/src/modals/apiModal/index.tsx
+++ b/src/frontend/src/modals/apiModal/index.tsx
@@ -145,7 +145,9 @@ export default function ApiModal({
name="SlidersHorizontal"
className="h-3.5 w-3.5"
/>
- {t("modal.api.inputSchema")} ({Object.keys(tweaks)?.length})
+
+ {t("modal.api.inputSchema")} ({Object.keys(tweaks)?.length}){" "}
+
@@ -179,7 +181,9 @@ export default function ApiModal({
{!validEndpointName && (
- {t("modal.api.endpointValidation", { maxLength: MAX_LENGTH })}
+ {t("modal.api.endpointValidation", {
+ maxLength: MAX_LENGTH,
+ })}
)}
@@ -198,7 +202,9 @@ export default function ApiModal({
)}
-
{t("modal.api.exposeApi")}
+
+ {t("modal.api.exposeApi")}
+
{t("modal.api.exposeApiDescription")}
diff --git a/src/frontend/src/modals/mustachePromptModal/index.tsx b/src/frontend/src/modals/mustachePromptModal/index.tsx
index 7eeb4dbf23..7557afdb4e 100644
--- a/src/frontend/src/modals/mustachePromptModal/index.tsx
+++ b/src/frontend/src/modals/mustachePromptModal/index.tsx
@@ -8,9 +8,7 @@ import ShadTooltip from "../../components/common/shadTooltipComponent";
import { Badge } from "../../components/ui/badge";
import { Button } from "../../components/ui/button";
import { Textarea } from "../../components/ui/textarea";
-import {
- MAX_WORDS_HIGHLIGHT,
-} from "../../constants/constants";
+import { MAX_WORDS_HIGHLIGHT } from "../../constants/constants";
import useAlertStore from "../../stores/alertStore";
import { PromptModalType } from "../../types/components";
import { handleKeyDown } from "../../utils/reactflowUtils";
diff --git a/src/frontend/src/modals/queryModal/index.tsx b/src/frontend/src/modals/queryModal/index.tsx
index df286b5574..8be7057f0c 100644
--- a/src/frontend/src/modals/queryModal/index.tsx
+++ b/src/frontend/src/modals/queryModal/index.tsx
@@ -38,7 +38,9 @@ export default function QueryModal({
- {title ?? t("dialog.editText")}
+
+ {title ?? t("dialog.editText")}
+
diff --git a/src/frontend/src/modals/secretKeyModal/index.tsx b/src/frontend/src/modals/secretKeyModal/index.tsx
index 7eb31f5ee1..b775921a2f 100644
--- a/src/frontend/src/modals/secretKeyModal/index.tsx
+++ b/src/frontend/src/modals/secretKeyModal/index.tsx
@@ -156,7 +156,9 @@ export default function SecretKeyModal({
diff --git a/src/frontend/src/pages/AdminPage/LoginPage/index.tsx b/src/frontend/src/pages/AdminPage/LoginPage/index.tsx
index c555d86707..6a163808e8 100644
--- a/src/frontend/src/pages/AdminPage/LoginPage/index.tsx
+++ b/src/frontend/src/pages/AdminPage/LoginPage/index.tsx
@@ -54,7 +54,9 @@ export default function LoginAdminPage() {
-
{t("auth.adminTitle")}
+
+ {t("auth.adminTitle")}
+
{
handleInput({ target: { name: "username", value } });
diff --git a/src/frontend/src/pages/AdminPage/index.tsx b/src/frontend/src/pages/AdminPage/index.tsx
index edd6265907..84ea160327 100644
--- a/src/frontend/src/pages/AdminPage/index.tsx
+++ b/src/frontend/src/pages/AdminPage/index.tsx
@@ -323,12 +323,24 @@ export default function AdminPage() {
}
>
- {t("admin.columnId")}
- {t("admin.columnUsername")}
- {t("admin.columnActive")}
- {t("admin.columnSuperuser")}
- {t("admin.columnCreatedAt")}
- {t("admin.columnUpdatedAt")}
+
+ {t("admin.columnId")}
+
+
+ {t("admin.columnUsername")}
+
+
+ {t("admin.columnActive")}
+
+
+ {t("admin.columnSuperuser")}
+
+
+ {t("admin.columnCreatedAt")}
+
+
+ {t("admin.columnUpdatedAt")}
+
@@ -350,7 +362,9 @@ export default function AdminPage() {
{user.id === userData?.id ? (
-
+
@@ -407,9 +421,7 @@ export default function AdminPage() {
}}
>
-
- {t("admin.editUserConfirmContent")}
-
+ {t("admin.editUserConfirmContent")}
@@ -446,7 +458,10 @@ export default function AdminPage() {
handleEditUser(user.id, editUser);
}}
>
-
+
{ENABLE_NEW_SIDEBAR && setShowConfig && (
diff --git a/src/frontend/src/pages/FlowPage/components/flowSidebarComponent/components/sidebarHeader.tsx b/src/frontend/src/pages/FlowPage/components/flowSidebarComponent/components/sidebarHeader.tsx
index 2be79bc28d..a3392a3f28 100644
--- a/src/frontend/src/pages/FlowPage/components/flowSidebarComponent/components/sidebarHeader.tsx
+++ b/src/frontend/src/pages/FlowPage/components/flowSidebarComponent/components/sidebarHeader.tsx
@@ -46,7 +46,10 @@ export const SidebarHeaderComponent = memo(function SidebarHeaderComponent({
-
+
- {t("auth.usernameLabel")} *
+ {t("auth.usernameLabel")}{" "}
+ *
@@ -109,7 +110,8 @@ export default function LoginPage(): JSX.Element {
- {t("auth.passwordLabel")} *
+ {t("auth.passwordLabel")}{" "}
+ *
{
return (
- {t("settings.apiPageParagraph")}
+
+ {t("settings.apiPageParagraph")}
+
- {t("auth.usernameLabel")} *
+ {t("auth.usernameLabel")}{" "}
+ *
@@ -124,7 +123,8 @@ export default function SignUp(): JSX.Element {
- {t("auth.passwordLabel")} *
+ {t("auth.passwordLabel")}{" "}
+ *
{
diff --git a/src/frontend/src/pages/StorePage/index.tsx b/src/frontend/src/pages/StorePage/index.tsx
index c9847c6040..85665f1d78 100644
--- a/src/frontend/src/pages/StorePage/index.tsx
+++ b/src/frontend/src/pages/StorePage/index.tsx
@@ -141,10 +141,7 @@ export default function StorePage(): JSX.Element {
setLoading(false);
setErrorData({
title: t("errors.getComponents"),
- list: [
- err?.response?.data?.detail ??
- t("store.fetchErrorDetail"),
- ],
+ list: [err?.response?.data?.detail ?? t("store.fetchErrorDetail")],
});
}
});
@@ -304,7 +301,8 @@ export default function StorePage(): JSX.Element {
{(!loading || searchData.length !== 0) && (
<>
- {totalRowsCount} {t("store.results", { count: totalRowsCount })}
+ {totalRowsCount}{" "}
+ {t("store.results", { count: totalRowsCount })}
>
)}
@@ -319,9 +317,13 @@ export default function StorePage(): JSX.Element {
- {t("store.sortPopular")}
+
+ {t("store.sortPopular")}
+
{/* Most Recent */}
- {t("store.sortAlphabetical")}
+
+ {t("store.sortAlphabetical")}
+
@@ -357,17 +359,19 @@ export default function StorePage(): JSX.Element {
{selectFilter != "all" ? (
<>
{t("store.emptyCreatedOrLiked", {
- action: selectFilter === "createdbyme"
- ? t("store.emptyCreatedAction")
- : t("store.emptyLikedAction"),
+ action:
+ selectFilter === "createdbyme"
+ ? t("store.emptyCreatedAction")
+ : t("store.emptyLikedAction"),
})}
>
) : (
<>
{t("store.emptyNoItems", {
- type: tabActive == "Flows"
- ? t("store.tabFlows")
- : t("store.tabComponents"),
+ type:
+ tabActive == "Flows"
+ ? t("store.tabFlows")
+ : t("store.tabComponents"),
})}
>
)}
diff --git a/src/frontend/src/shared/hooks/use-file-size-validator.ts b/src/frontend/src/shared/hooks/use-file-size-validator.ts
index 7cba442731..a32feebc06 100644
--- a/src/frontend/src/shared/hooks/use-file-size-validator.ts
+++ b/src/frontend/src/shared/hooks/use-file-size-validator.ts
@@ -9,7 +9,9 @@ const useFileSizeValidator = () => {
const validateFileSize = (file) => {
if (file.size > maxFileSizeUpload) {
throw new Error(
- t("errors.fileTooLarge", { maxSizeMB: formatFileSize(maxFileSizeUpload) }),
+ t("errors.fileTooLarge", {
+ maxSizeMB: formatFileSize(maxFileSizeUpload),
+ }),
);
}
return true;
diff --git a/src/frontend/src/stores/__tests__/flowStore.test.ts b/src/frontend/src/stores/__tests__/flowStore.test.ts
index 507535caca..1cdc790c54 100644
--- a/src/frontend/src/stores/__tests__/flowStore.test.ts
+++ b/src/frontend/src/stores/__tests__/flowStore.test.ts
@@ -20,7 +20,6 @@ jest.mock("../../i18n", () => ({
default: { t: jest.fn((key: string) => key) },
}));
-
jest.mock("@/customization/feature-flags", () => ({
ENABLE_DATASTAX_LANGFLOW: false,
}));
diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts
index 7fc9c0e65a..542c5636ce 100644
--- a/src/frontend/src/utils/styleUtils.ts
+++ b/src/frontend/src/utils/styleUtils.ts
@@ -281,45 +281,107 @@ export const FILE_ICONS = {
};
export const SIDEBAR_CATEGORIES = [
- { display_name: "sidebar.category.saved", name: "saved_components", icon: "GradientSave" },
- { display_name: "sidebar.category.inputOutput", name: "input_output", icon: "Cable" },
- { display_name: "sidebar.category.dataSources", name: "data_source", icon: "Database" },
- { display_name: "sidebar.category.modelsAndAgents", name: "models_and_agents", icon: "Bot" },
+ {
+ display_name: "sidebar.category.saved",
+ name: "saved_components",
+ icon: "GradientSave",
+ },
+ {
+ display_name: "sidebar.category.inputOutput",
+ name: "input_output",
+ icon: "Cable",
+ },
+ {
+ display_name: "sidebar.category.dataSources",
+ name: "data_source",
+ icon: "Database",
+ },
+ {
+ display_name: "sidebar.category.modelsAndAgents",
+ name: "models_and_agents",
+ icon: "Bot",
+ },
{
display_name: "sidebar.category.llmOperations",
name: "llm_operations",
icon: "BrainCircuit",
},
{
- display_name: ENABLE_KNOWLEDGE_BASES ? "sidebar.category.filesAndKnowledge" : "sidebar.category.files",
+ display_name: ENABLE_KNOWLEDGE_BASES
+ ? "sidebar.category.filesAndKnowledge"
+ : "sidebar.category.files",
name: "files_and_knowledge",
icon: "Layers",
},
- { display_name: "sidebar.category.processing", name: "processing", icon: "ListFilter" },
+ {
+ display_name: "sidebar.category.processing",
+ name: "processing",
+ icon: "ListFilter",
+ },
{
display_name: "sidebar.category.flowControl",
name: "flow_controls",
icon: "ArrowRightLeft",
},
- { display_name: "sidebar.category.utilities", name: "utilities", icon: "Wand2" },
- { display_name: "sidebar.category.prototypes", name: "prototypes", icon: "FlaskConical" },
+ {
+ display_name: "sidebar.category.utilities",
+ name: "utilities",
+ icon: "Wand2",
+ },
+ {
+ display_name: "sidebar.category.prototypes",
+ name: "prototypes",
+ icon: "FlaskConical",
+ },
{ display_name: "sidebar.category.tools", name: "tools", icon: "Hammer" },
{ display_name: "sidebar.category.agents", name: "agents", icon: "Bot" },
{ display_name: "sidebar.category.data", name: "data", icon: "Database" },
- { display_name: "sidebar.category.logic", name: "logic", icon: "ArrowRightLeft" },
+ {
+ display_name: "sidebar.category.logic",
+ name: "logic",
+ icon: "ArrowRightLeft",
+ },
{ display_name: "sidebar.category.helpers", name: "helpers", icon: "Wand2" },
{ display_name: "sidebar.category.models", name: "models", icon: "BrainCog" },
- { display_name: "sidebar.category.vectorStores", name: "vectorstores", icon: "Layers" },
+ {
+ display_name: "sidebar.category.vectorStores",
+ name: "vectorstores",
+ icon: "Layers",
+ },
{ display_name: "sidebar.category.inputs", name: "inputs", icon: "Download" },
{ display_name: "sidebar.category.outputs", name: "outputs", icon: "Upload" },
{ display_name: "sidebar.category.prompts", name: "prompts", icon: "braces" },
{ display_name: "sidebar.category.chains", name: "chains", icon: "Link" },
- { display_name: "sidebar.category.loaders", name: "documentloaders", icon: "Paperclip" },
- { display_name: "sidebar.category.linkExtractors", name: "link_extractors", icon: "Link2" },
- { display_name: "sidebar.category.outputParsers", name: "output_parsers", icon: "Compass" },
- { display_name: "sidebar.category.retrievers", name: "retrievers", icon: "FileSearch" },
- { display_name: "sidebar.category.textSplitters", name: "textsplitters", icon: "Scissors" },
- { display_name: "sidebar.category.toolkits", name: "toolkits", icon: "Package2" },
+ {
+ display_name: "sidebar.category.loaders",
+ name: "documentloaders",
+ icon: "Paperclip",
+ },
+ {
+ display_name: "sidebar.category.linkExtractors",
+ name: "link_extractors",
+ icon: "Link2",
+ },
+ {
+ display_name: "sidebar.category.outputParsers",
+ name: "output_parsers",
+ icon: "Compass",
+ },
+ {
+ display_name: "sidebar.category.retrievers",
+ name: "retrievers",
+ icon: "FileSearch",
+ },
+ {
+ display_name: "sidebar.category.textSplitters",
+ name: "textsplitters",
+ icon: "Scissors",
+ },
+ {
+ display_name: "sidebar.category.toolkits",
+ name: "toolkits",
+ icon: "Package2",
+ },
];
export const SIDEBAR_BUNDLES = [