mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-09-25 16:16:01 +00:00
### What problem does this PR solve? Fix: In the dark night theme, the message input box is not displayed correctly. #6950 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
d9266ed65a
commit
056ea68e52
@ -1,7 +1,6 @@
|
|||||||
.messageInputWrapper {
|
.messageInputWrapper {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
padding: '0px 0px 10px 0px';
|
padding: '0px 0px 10px 0px';
|
||||||
background-color: #ffffff;
|
|
||||||
border: 1px solid #d9d9d9;
|
border: 1px solid #d9d9d9;
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: #40a9ff;
|
border-color: #40a9ff;
|
||||||
|
@ -5,6 +5,7 @@ import {
|
|||||||
useRemoveNextDocument,
|
useRemoveNextDocument,
|
||||||
useUploadAndParseDocument,
|
useUploadAndParseDocument,
|
||||||
} from '@/hooks/document-hooks';
|
} from '@/hooks/document-hooks';
|
||||||
|
import { cn } from '@/lib/utils';
|
||||||
import { getExtension } from '@/utils/document-util';
|
import { getExtension } from '@/utils/document-util';
|
||||||
import { formatBytes } from '@/utils/file-util';
|
import { formatBytes } from '@/utils/file-util';
|
||||||
import {
|
import {
|
||||||
@ -222,7 +223,11 @@ const MessageInput = ({
|
|||||||
}, [conversationId, setFileList]);
|
}, [conversationId, setFileList]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex gap={1} vertical className={styles.messageInputWrapper}>
|
<Flex
|
||||||
|
gap={1}
|
||||||
|
vertical
|
||||||
|
className={cn(styles.messageInputWrapper, 'dark:bg-black')}
|
||||||
|
>
|
||||||
<TextArea
|
<TextArea
|
||||||
size="large"
|
size="large"
|
||||||
placeholder={t('sendPlaceholder')}
|
placeholder={t('sendPlaceholder')}
|
||||||
|
@ -406,7 +406,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
|
|||||||
createAssistant: 'Create an Assistant',
|
createAssistant: 'Create an Assistant',
|
||||||
assistantSetting: 'Assistant settings',
|
assistantSetting: 'Assistant settings',
|
||||||
promptEngine: 'Prompt engine',
|
promptEngine: 'Prompt engine',
|
||||||
modelSetting: 'Model Setting',
|
modelSetting: 'Model settings',
|
||||||
chat: 'Chat',
|
chat: 'Chat',
|
||||||
newChat: 'New chat',
|
newChat: 'New chat',
|
||||||
send: 'Send',
|
send: 'Send',
|
||||||
@ -532,8 +532,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
|
|||||||
locale: 'Locale',
|
locale: 'Locale',
|
||||||
selectLanguage: 'Select a language',
|
selectLanguage: 'Select a language',
|
||||||
reasoning: 'Reasoning',
|
reasoning: 'Reasoning',
|
||||||
reasoningTip:
|
reasoningTip: `Whether to enable a reasoning workflow during question answering, as seen in models like Deepseek-R1 or OpenAI o1. When enabled, this allows the model to access external knowledge and tackle complex questions in a step-by-step manner, leveraging techniques like chain-of-thought reasoning. This approach enhances the model's ability to provide accurate responses by breaking down problems into manageable steps, improving performance on tasks that require logical reasoning and multi-step thinking.`,
|
||||||
`Whether to enable a reasoning workflow during question answering, as seen in models like Deepseek-R1 or OpenAI o1. When enabled, this allows the model to access external knowledge and tackle complex questions in a step-by-step manner, leveraging techniques like chain-of-thought reasoning. This approach enhances the model's ability to provide accurate responses by breaking down problems into manageable steps, improving performance on tasks that require logical reasoning and multi-step thinking.`,
|
|
||||||
tavilyApiKeyTip:
|
tavilyApiKeyTip:
|
||||||
'If an API key is correctly set here, Tavily-based web searches will be used to supplement knowledge base retrieval.',
|
'If an API key is correctly set here, Tavily-based web searches will be used to supplement knowledge base retrieval.',
|
||||||
tavilyApiKeyMessage: 'Please enter your Tavily API Key',
|
tavilyApiKeyMessage: 'Please enter your Tavily API Key',
|
||||||
|
@ -37,9 +37,9 @@ const validateMessages = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum ConfigurationSegmented {
|
enum ConfigurationSegmented {
|
||||||
AssistantSetting = 'Assistant settings',
|
AssistantSetting = 'Assistant Setting',
|
||||||
PromptEngine = 'Prompt engine',
|
PromptEngine = 'Prompt Engine',
|
||||||
ModelSetting = 'Model settings',
|
ModelSetting = 'Model Setting',
|
||||||
}
|
}
|
||||||
|
|
||||||
const segmentedMap = {
|
const segmentedMap = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user