new(core.gbapp): LLM alerts for data.

This commit is contained in:
me@rodrigorodriguez.com 2024-10-15 16:09:48 -03:00
parent 0832f9d769
commit 52f416076e
3 changed files with 5 additions and 6 deletions

View file

@ -1309,7 +1309,7 @@ export class KeywordsExpressions {
];
keywords[i++] = [
/^\s*refresh\s*(.*)/gim,
/^\s*(refresh)\s*(.*)/gim,
($0, $1, $2, $3) => {
return `await sys.refreshDataSourceCache({pid: pid, connectionName: ${$2}})`;
}

View file

@ -1044,10 +1044,9 @@ export class GBMinService {
const sec = new SecService();
let member = context.activity.recipient;
if (process.env.STORAGE_NAME){
member = context.activity.from;
if (process.env.STORAGE_NAME || !member) {
member = context.activity.from;
}
let user = await sec.ensureUser(min, member.id, member.name, '', 'web', member.name, null);
const userId = user.userId;

View file

@ -4,4 +4,4 @@ REFRESH "llm"
list = REWRITE "A list of latest 10 orders made."
TALK TO admin
TALK TO admin