mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-29 16:05:35 +08:00
Fix memory config: user prompt text box (#12229)
### What problem does this PR solve? As title ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -146,7 +146,7 @@ export const AdvancedSettingsForm = () => {
|
|||||||
field={{
|
field={{
|
||||||
name: 'user_prompt',
|
name: 'user_prompt',
|
||||||
label: t('memory.config.userPrompt'),
|
label: t('memory.config.userPrompt'),
|
||||||
type: FormFieldType.Text,
|
type: FormFieldType.Textarea,
|
||||||
horizontal: true,
|
horizontal: true,
|
||||||
placeholder: t('memory.config.userPromptPlaceholder'),
|
placeholder: t('memory.config.userPromptPlaceholder'),
|
||||||
required: false,
|
required: false,
|
||||||
|
|||||||
@ -74,7 +74,7 @@ export default function MemoryMessage() {
|
|||||||
<div className="flex gap-14 flex-1 min-h-0">
|
<div className="flex gap-14 flex-1 min-h-0">
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
<form onSubmit={form.handleSubmit(() => {})} className="space-y-6 ">
|
<form onSubmit={form.handleSubmit(() => {})} className="space-y-6 ">
|
||||||
<div className="w-[768px] h-[calc(100vh-300px)] pr-1 overflow-y-auto scrollbar-auto">
|
<div className="w-[768px] h-[calc(100vh-300px)] pr-1 overflow-y-auto scrollbar-auto pb-4">
|
||||||
<MainContainer className="text-text-secondary !space-y-10">
|
<MainContainer className="text-text-secondary !space-y-10">
|
||||||
<div className="text-base font-medium text-text-primary">
|
<div className="text-base font-medium text-text-primary">
|
||||||
{t('knowledgeConfiguration.baseInfo')}
|
{t('knowledgeConfiguration.baseInfo')}
|
||||||
|
|||||||
Reference in New Issue
Block a user