fix(all): TRUE multicloud.
This commit is contained in:
parent
49f0f98cac
commit
b9be666d00
2 changed files with 2 additions and 1 deletions
|
@ -341,6 +341,7 @@ export class GBVMService extends GBService {
|
|||
if (!min[connectionName]) {
|
||||
GBLogEx.info(min, `Loading custom connection ${connectionName}...`);
|
||||
min[connectionName] = new Sequelize(storageName, username, password, sequelizeOptions);
|
||||
min[connectionName]['gbconnection'] = con;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -475,7 +475,7 @@ export class ChatServices {
|
|||
question
|
||||
});
|
||||
} else if (LLMMode === 'sql') {
|
||||
const con = min[`llm`];
|
||||
const con = min[`llm`]['gbconnection'];
|
||||
|
||||
const dialect = con['storageDriver'];
|
||||
const host = con['storageServer'];
|
||||
|
|
Loading…
Add table
Reference in a new issue