mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: add temperature and top-p to ModelSetting and add ChatConfigurationModal and bind backend data to KnowledgeCard (#65)
* feat: bind backend data to KnowledgeCard * feat: add ChatConfigurationModal * feat: add temperature and top-p to ModelSetting
This commit is contained in:
@ -68,7 +68,7 @@ const Configuration = () => {
|
||||
const fileList = values.avatar;
|
||||
let avatar;
|
||||
|
||||
if (Array.isArray(fileList)) {
|
||||
if (Array.isArray(fileList) && fileList.length > 0) {
|
||||
avatar = fileList[0].thumbUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user