fix(all): TRUE multicloud.

This commit is contained in:
Rodrigo Rodriguez 2024-08-26 22:30:28 -03:00
parent 49f0f98cac
commit b9be666d00
2 changed files with 2 additions and 1 deletions

View file

@ -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;
}
});

View file

@ -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'];