mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 07:06:39 +08:00
Fix: Memory sava issue (#12243)
### What problem does this PR solve? Fix: Memory sava issue ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -204,7 +204,7 @@ export function MemoryTable({
|
||||
|
||||
return (
|
||||
<div className="w-full">
|
||||
<Table rootClassName="max-h-[calc(100vh-222px)]">
|
||||
<Table rootClassName="max-h-[calc(100vh-282px)]">
|
||||
<TableHeader>
|
||||
{table.getHeaderGroups().map((headerGroup) => (
|
||||
<TableRow key={headerGroup.id}>
|
||||
@ -327,7 +327,7 @@ export function MemoryTable({
|
||||
</Modal>
|
||||
)}
|
||||
|
||||
<div className="flex items-center justify-end py-4 absolute bottom-3 right-3">
|
||||
<div className="flex items-center justify-end absolute bottom-3 right-3">
|
||||
<RAGFlowPagination
|
||||
{...pick(pagination, 'current', 'pageSize')}
|
||||
total={total}
|
||||
|
||||
@ -18,10 +18,10 @@ export const advancedSettingsFormSchema = {
|
||||
user_prompt: z.string().optional(),
|
||||
};
|
||||
export const defaultAdvancedSettingsForm = {
|
||||
permissions: 'me',
|
||||
storage_type: 'table',
|
||||
forgetting_policy: 'FIFO',
|
||||
temperature: 0.7,
|
||||
permissions: '',
|
||||
storage_type: '',
|
||||
forgetting_policy: '',
|
||||
temperature: 0,
|
||||
system_prompt: '',
|
||||
user_prompt: '',
|
||||
};
|
||||
|
||||
@ -89,7 +89,7 @@ export const MemoryModelForm = () => {
|
||||
<RenderField
|
||||
field={{
|
||||
name: 'memory_size',
|
||||
label: t('memory.config.memorySize'),
|
||||
label: t('memory.config.memorySize') + ' (Bytes)',
|
||||
type: FormFieldType.Number,
|
||||
horizontal: true,
|
||||
// placeholder: t('memory.config.memorySizePlaceholder'),
|
||||
|
||||
Reference in New Issue
Block a user