Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: enable scrolling at chat setting (#10184)

Atsushi Hatakeyama45f9f428dbf5
diff --git a/web/src/locales/ja.ts b/web/src/locales/ja.ts
index 690a5fd0dc..46a5e8e533 100644
--- a/web/src/locales/ja.ts
+++ b/web/src/locales/ja.ts
@@ -332,6 +332,7 @@ export default {
questionTip: `質問が指定されている場合、チャンクの埋め込みはそれらに基づきます。`,
},
chat: {
+ messagePlaceholder: 'メッセージを入力してください...',
newConversation: '新しい会話',
createAssistant: 'アシスタントを作成',
assistantSetting: 'アシスタント設定',
diff --git a/web/src/pages/next-chats/chat/app-settings/chat-prompt-engine.tsx b/web/src/pages/next-chats/chat/app-settings/chat-prompt-engine.tsx
index 8360733357..a5a635efaa 100644
--- a/web/src/pages/next-chats/chat/app-settings/chat-prompt-engine.tsx
+++ b/web/src/pages/next-chats/chat/app-settings/chat-prompt-engine.tsx
@@ -31,7 +31,12 @@ export function ChatPromptEngine() {
<FormItem>
<FormLabel>{t('system')}</FormLabel>
<FormControl>
- <Textarea {...field} rows={8} />
+ <Textarea
+ {...field}
+ rows={8}
+ placeholder={t('messagePlaceholder')}
+ className="overflow-y-auto"
+ />
</FormControl>
<FormMessage />
</FormItem>