diff --git a/web/src/assets/icon/Icon.tsx b/web/src/assets/icon/Icon.tsx
index 259935e4171..1d20e3a8423 100644
--- a/web/src/assets/icon/Icon.tsx
+++ b/web/src/assets/icon/Icon.tsx
@@ -144,6 +144,66 @@ const PromptSvg = () => (
>
);
+const WikipediaSvg = () => (
+
+);
+const KeywordSvg = () => (
+
+);
+const GitHubSvg = () => (
+
+);
+const QWeatherSvg = () => (
+
+);
export const ApiIcon = (props: Partial) => (
@@ -166,3 +226,15 @@ export const ModelProviderIcon = (props: Partial) => (
export const PromptIcon = (props: Partial) => (
);
+export const WikipediaIcon = (props: Partial) => (
+
+);
+export const KeywordIcon = (props: Partial) => (
+
+);
+export const GitHubIcon = (props: Partial) => (
+
+);
+export const QWeatherIcon = (props: Partial) => (
+
+);
diff --git a/web/src/components/llm-setting-items/index.tsx b/web/src/components/llm-setting-items/index.tsx
index 841de4259dd..f665aa0b176 100644
--- a/web/src/components/llm-setting-items/index.tsx
+++ b/web/src/components/llm-setting-items/index.tsx
@@ -269,7 +269,7 @@ const LlmSettingItems = ({ prefix, formItemLayout = {} }: IProps) => {
>
@@ -278,7 +278,7 @@ const LlmSettingItems = ({ prefix, formItemLayout = {} }: IProps) => {
diff --git a/web/src/components/message-item/index.less b/web/src/components/message-item/index.less
index fb5e67b64a6..224210e0dd7 100644
--- a/web/src/components/message-item/index.less
+++ b/web/src/components/message-item/index.less
@@ -35,7 +35,7 @@
.messageTextDark {
.chunkText();
.messageTextBase();
- background-color: rgba(36, 50, 252, 0.3);
+ background-color: #1668dc;
word-break: break-all;
}
diff --git a/web/src/locales/vi.ts b/web/src/locales/vi.ts
index dbbbefb66b8..ed53e80ac48 100644
--- a/web/src/locales/vi.ts
+++ b/web/src/locales/vi.ts
@@ -76,6 +76,7 @@ export default {
namePlaceholder: 'Vui lòng nhập tên!',
doc: 'Tài liệu',
searchKnowledgePlaceholder: 'Tìm kiếm',
+ noMoreData: 'Tất cả chỉ có thế, không còn gì nữa',
},
knowledgeDetails: {
dataset: 'Dữ liệu',
diff --git a/web/src/pages/chat/chat-configuration-modal/model-setting.tsx b/web/src/pages/chat/chat-configuration-modal/model-setting.tsx
index aac34cd2af2..6c0c9d13bd1 100644
--- a/web/src/pages/chat/chat-configuration-modal/model-setting.tsx
+++ b/web/src/pages/chat/chat-configuration-modal/model-setting.tsx
@@ -42,224 +42,6 @@ const ModelSetting = ({
})}
>
{visible && }
- {/*
-
-
-
-
-
-
-
-
-
-
-
- {({ getFieldValue }) => {
- const disabled = !getFieldValue('temperatureEnabled');
- return (
- <>
-
-
-
-
-
-
-
-
- >
- );
- }}
-
-
-
-
-
-
-
-
-
- {({ getFieldValue }) => {
- const disabled = !getFieldValue('topPEnabled');
- return (
- <>
-
-
-
-
-
-
-
-
- >
- );
- }}
-
-
-
-
-
-
-
-
-
- {({ getFieldValue }) => {
- const disabled = !getFieldValue('presencePenaltyEnabled');
- return (
- <>
-
-
-
-
-
-
-
-
- >
- );
- }}
-
-
-
-
-
-
-
-
-
- {({ getFieldValue }) => {
- const disabled = !getFieldValue('frequencyPenaltyEnabled');
- return (
- <>
-
-
-
-
-
-
-
-
- >
- );
- }}
-
-
-
-
-
-
-
-
-
- {({ getFieldValue }) => {
- const disabled = !getFieldValue('maxTokensEnabled');
-
- return (
- <>
-
-
-
-
-
-
-
-
- >
- );
- }}
-
-
- */}
);
};
diff --git a/web/src/pages/flow/canvas/edge/index.less b/web/src/pages/flow/canvas/edge/index.less
index fd6bae7f075..281b6725128 100644
--- a/web/src/pages/flow/canvas/edge/index.less
+++ b/web/src/pages/flow/canvas/edge/index.less
@@ -13,3 +13,19 @@
.edgeButton:hover {
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.08);
}
+
+.edgeButtonDark {
+ width: 14px;
+ height: 14px;
+ background: #0e0c0c;
+ border: 1px solid #fff;
+ padding: 0;
+ cursor: pointer;
+ border-radius: 50%;
+ font-size: 10px;
+ line-height: 1;
+}
+
+.edgeButtonDark:hover {
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.08);
+}
diff --git a/web/src/pages/flow/canvas/edge/index.tsx b/web/src/pages/flow/canvas/edge/index.tsx
index 9ef5250cf15..62dc4db9738 100644
--- a/web/src/pages/flow/canvas/edge/index.tsx
+++ b/web/src/pages/flow/canvas/edge/index.tsx
@@ -6,6 +6,7 @@ import {
} from 'reactflow';
import useGraphStore from '../../store';
+import { useTheme } from '@/components/theme-provider';
import { useFetchFlow } from '@/hooks/flow-hooks';
import { useMemo } from 'react';
import styles from './index.less';
@@ -33,7 +34,7 @@ export function ButtonEdge({
targetY,
targetPosition,
});
-
+ const { theme } = useTheme();
const selectedStyle = useMemo(() => {
return selected ? { strokeWidth: 2, stroke: '#1677ff' } : {};
}, [selected]);
@@ -93,7 +94,9 @@ export function ButtonEdge({
className="nodrag nopan"
>