-
- {legacyOutputs.length > 0 && (
-
-
-
- This CodeExec node uses the deprecated multi-output schema:{' '}
- {legacyOutputs.join(', ')}. Keep one business output here and
- move field extraction to downstream nodes.
-
-
- )}
-
- (
-
- Name
-
-
-
-
-
- )}
- />
- (
-
- Type
-
-
-
-
-
- )}
- />
-
+
+
+ {legacyOutputs.length > 0 && (
+
+
+
+ This CodeExec node uses the deprecated multi-output schema:{' '}
+ {legacyOutputs.join(', ')}. Keep one business output here and
+ move field extraction to downstream nodes.
+
+
+ )}
+
+ (
+
+ Name
+
+
+
+
+
+ )}
+ />
+ (
+
+ Type
+
+
+
+
+
+ )}
+ />
+
+
+
+
+
+
-
-
-
-
);
diff --git a/web/src/pages/agent/form/code-form/monaco-config.ts b/web/src/pages/agent/form/code-form/monaco-config.ts
new file mode 100644
index 0000000000..f44948cb17
--- /dev/null
+++ b/web/src/pages/agent/form/code-form/monaco-config.ts
@@ -0,0 +1,13 @@
+export const CodeEditorOptions = {
+ minimap: { enabled: false },
+ automaticLayout: true,
+ scrollbar: {
+ verticalScrollbarSize: 10,
+ horizontalScrollbarSize: 10,
+ },
+};
+
+export const RAGFlowMonacoTheme = {
+ Light: 'vs',
+ Dark: 'vs-dark',
+} as const;
diff --git a/web/src/pages/next-search/search-home.tsx b/web/src/pages/next-search/search-home.tsx
index 281546c3bc..05ee5a1244 100644
--- a/web/src/pages/next-search/search-home.tsx
+++ b/web/src/pages/next-search/search-home.tsx
@@ -8,7 +8,7 @@ import { useTranslation } from 'react-i18next';
import './index.less';
import { RAGFlowLogo } from './ragflow-log';
-export default function SearchPage({
+export default function SearchHome({
isSearching,
setIsSearching,
searchText,