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 && } - {/* -