utilitas 2000.3.30 → 2000.3.31

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/lib/alan.mjs CHANGED
@@ -1256,7 +1256,7 @@ const initChat = async (options = {}) => {
1256
1256
  )]), getAi(null, { all: true })]);
1257
1257
  for (const ai of ais.filter(x => ![
1258
1258
  IMAGEN_4_ULTRA, VEO_31, GPT_4O_TRANSCRIBE,
1259
- ].includes(x.name))) {
1259
+ ].includes(x.model.name))) {
1260
1260
  const mxPmpt = ai.model.maxInputTokens / 2;
1261
1261
  assert(spTokens < mxPmpt,
1262
1262
  `System prompt is too long: ${spTokens} / ${mxPmpt} tokens.`);
package/lib/manifest.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const manifest = {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "2000.3.30",
4
+ "version": "2000.3.31",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "2000.3.30",
4
+ "version": "2000.3.31",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",