mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: init data
This commit is contained in:
@@ -101,7 +101,7 @@ export async function getInitConfig() {
|
||||
global.vectorModels = res.VectorModels || defaultVectorModels;
|
||||
} catch (error) {
|
||||
setDefaultData();
|
||||
return Promise.reject('get init config error');
|
||||
console.log('get init config error, set default');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user