mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Fix: LLM with ___ return cannot be deleted #5585 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -198,7 +198,7 @@ export const useSelectLlmList = () => {
|
||||
name: key,
|
||||
logo: factoryList.find((x) => x.name === key)?.logo ?? '',
|
||||
...value,
|
||||
llm: value.llm.map((x) => ({ ...x, name: getRealModelName(x.name) })),
|
||||
llm: value.llm.map((x) => ({ ...x, name: x.name })),
|
||||
}));
|
||||
}, [myLlmList, factoryList]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user