new(core.gbapp): LLM alerts for data.
This commit is contained in:
parent
0832f9d769
commit
52f416076e
3 changed files with 5 additions and 6 deletions
|
@ -1309,7 +1309,7 @@ export class KeywordsExpressions {
|
||||||
];
|
];
|
||||||
|
|
||||||
keywords[i++] = [
|
keywords[i++] = [
|
||||||
/^\s*refresh\s*(.*)/gim,
|
/^\s*(refresh)\s*(.*)/gim,
|
||||||
($0, $1, $2, $3) => {
|
($0, $1, $2, $3) => {
|
||||||
return `await sys.refreshDataSourceCache({pid: pid, connectionName: ${$2}})`;
|
return `await sys.refreshDataSourceCache({pid: pid, connectionName: ${$2}})`;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1045,9 +1045,8 @@ export class GBMinService {
|
||||||
const sec = new SecService();
|
const sec = new SecService();
|
||||||
let member = context.activity.recipient;
|
let member = context.activity.recipient;
|
||||||
|
|
||||||
|
if (process.env.STORAGE_NAME || !member) {
|
||||||
if (process.env.STORAGE_NAME){
|
member = context.activity.from;
|
||||||
member = context.activity.from;
|
|
||||||
}
|
}
|
||||||
let user = await sec.ensureUser(min, member.id, member.name, '', 'web', member.name, null);
|
let user = await sec.ensureUser(min, member.id, member.name, '', 'web', member.name, null);
|
||||||
const userId = user.userId;
|
const userId = user.userId;
|
||||||
|
|
Loading…
Add table
Reference in a new issue