utilitas 1999.1.43 → 1999.1.45

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
@@ -163,7 +163,7 @@ const MODELS = {
163
163
  reasoning: true,
164
164
  },
165
165
  [SF_DEEPSEEK_V3]: {
166
- contextWindow: kT(128), maxOutputTokens: k(8),
166
+ contextWindow: kT(64), maxOutputTokens: k(8),
167
167
  defaultProvider: SILICONFLOW,
168
168
  },// ERROR: column cannot have more than 2000 dimensions for hnsw index
169
169
  [TEXT_EMBEDDING_3_LARGE]: { ...OPENAI_EBD, dimension: k(3) },
package/lib/bot.mjs CHANGED
@@ -1057,7 +1057,7 @@ const parseArgs = async (args, ctx) => {
1057
1057
  const init = async (options) => {
1058
1058
  if (options) {
1059
1059
  assert(
1060
- insensitiveCompare(options?.botProvider, provider),
1060
+ insensitiveCompare(options?.provider, provider),
1061
1061
  'Invalid bot provider.', 501
1062
1062
  );
1063
1063
  if (isPrimary) {
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": "1999.1.43",
4
+ "version": "1999.1.45",
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": "1999.1.43",
4
+ "version": "1999.1.45",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",