mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-08 08:28:02 +08:00
fix(memory): display embd_name with fallback to embd_id in form field (#17956)
This commit is contained in:
@@ -62,7 +62,7 @@ export function useDisableDifferenceEmbeddingMemory(name: string) {
|
||||
name={item.name}
|
||||
/>
|
||||
),
|
||||
suffix: <MemoryLabel text={item.embd_id} />,
|
||||
suffix: <MemoryLabel text={item.embd_name || item.embd_id} />,
|
||||
value: item.id,
|
||||
disabled: item.embd_id !== selectedEmbedId && selectedEmbedId !== '',
|
||||
};
|
||||
|
||||
@@ -9,5 +9,6 @@ export interface IMemory {
|
||||
storage_type: string;
|
||||
tenant_id: string;
|
||||
embd_id: string;
|
||||
embd_name?: string;
|
||||
llm_id: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user