utilitas 2001.1.78 → 2001.1.80
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/README.md +3 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +3 -3
- package/lib/bot.mjs +5 -3
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -102,9 +102,9 @@ const MODEL_ICONS = {
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
const FEATURE_ICONS = {
|
|
105
|
-
audio: '🔊', deepsearch: '🔍', fast: '⚡️',
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
audio: '🔊', deepsearch: '🔍', fast: '⚡️', hearing: '👂', hidden: '🙈',
|
|
106
|
+
image: '🎨', json: '📊', reasoning: '🧠', tools: '🧰', video: '🎬',
|
|
107
|
+
vision: '👁️', // finetune: '🔧',
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
const GEMINI_RULES = {
|
package/lib/bot.mjs
CHANGED
|
@@ -9,10 +9,10 @@ const sendMd = (cId, cnt, opt) => send(cId, cnt, { parse_mode, ...opt || {} });
|
|
|
9
9
|
|
|
10
10
|
const [ // https://limits.tginfo.me/en
|
|
11
11
|
BOT_SEND, provider, signals, MESSAGE_LENGTH_LIMIT, EMOJI_THINKING,
|
|
12
|
-
PARSE_MODE_MD, BOT
|
|
12
|
+
PARSE_MODE_MD, PARSE_MODE_MD_V2, BOT
|
|
13
13
|
] = [
|
|
14
14
|
'BOT_SEND', 'TELEGRAM', ['SIGINT', 'SIGTERM'], parseInt(4096 * 0.93), // ~= 3800
|
|
15
|
-
'💬', 'Markdown', '🤖',
|
|
15
|
+
'💬', 'Markdown', 'MarkdownV2', '🤖',
|
|
16
16
|
];
|
|
17
17
|
|
|
18
18
|
const parse_mode = PARSE_MODE_MD;
|
|
@@ -97,9 +97,11 @@ const init = async (options) => {
|
|
|
97
97
|
export default init;
|
|
98
98
|
export {
|
|
99
99
|
_NEED,
|
|
100
|
+
BOT,
|
|
100
101
|
EMOJI_THINKING,
|
|
101
102
|
MESSAGE_LENGTH_LIMIT,
|
|
102
|
-
|
|
103
|
+
PARSE_MODE_MD_V2,
|
|
104
|
+
PARSE_MODE_MD,
|
|
103
105
|
end,
|
|
104
106
|
init,
|
|
105
107
|
lines,
|
package/lib/manifest.mjs
CHANGED