utilitas 1999.1.24 → 1999.1.25

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
@@ -180,11 +180,12 @@ const MODELS = {
180
180
  [JINA_CLIP]: {
181
181
  maxInputTokens: k(8), maxImageSize: 512 * 512, dimension: k(1),
182
182
  },
183
- [CLOUD_37_SONNET]: { // 100 pages: https://docs.anthropic.com/en/docs/build-with-claude/pdf-support
183
+ [CLOUD_37_SONNET]: {
184
184
  contextWindow: kT(200), maxOutputTokens: kT(64),
185
185
  documentCostTokens: 3000 * 100, maxDocumentFile: m(32),
186
186
  maxDocumentPages: 100, imageCostTokens: ~~(v8k / 750),
187
- maxImagePerPrompt: 100, maxImageSize: 2000 * 2000,
187
+ maxImagePerPrompt: Math.min(/*Anthropic:*/100, /*Vertex:*/20),
188
+ maxFileSize: /*Vertex*/m(5), maxImageSize: 2000 * 2000,
188
189
  supportedMimeTypes: [png, jpeg, gif, webp, pdf],
189
190
  json: true, reasoning: true, tools: true, vision: true,
190
191
  defaultProvider: [ANTHROPIC, VERTEX_ANTHROPIC],
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.24",
4
+ "version": "1999.1.25",
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.24",
4
+ "version": "1999.1.25",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",