halbot 1993.2.54 → 1993.2.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another `ChatGPT` / `Gemini` / `Ollama` Telegram bob, which is simple design, easy to use, extendable and fun.",
4
- "version": "1993.2.54",
4
+ "version": "1993.2.56",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",
@@ -51,7 +51,7 @@
51
51
  "pgvector": "^0.2.0",
52
52
  "telegraf": "^4.16.3",
53
53
  "tesseract.js": "^6.0.0",
54
- "utilitas": "^1999.1.5",
54
+ "utilitas": "^1999.1.6",
55
55
  "youtube-transcript": "^1.2.1"
56
56
  }
57
57
  }
@@ -137,7 +137,7 @@ const action = async (ctx, next) => {
137
137
  ).map(x => x.id), { ignoreRequest: bot.HELLO }
138
138
  );
139
139
  return await sendList(sNames, resp[0]?.message_id);
140
- });
140
+ }, { log: true });
141
141
  return resp;
142
142
  case 'end':
143
143
  const id = findSession(
@@ -57,7 +57,7 @@ const action = async (ctx, next) => {
57
57
  pms.push((async ai => {
58
58
  try {
59
59
  const resp = await alan.talk(ctx.prompt, {
60
- id: ai, ...ctx.carry, stream: async r => {
60
+ aiId: ai, ...ctx.carry, stream: async r => {
61
61
  msgs[ai] = r.text;
62
62
  ctx.carry.threadInfo.length || ok(onProgress);
63
63
  },