utilitas 1999.1.38 → 1999.1.39

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
@@ -65,7 +65,7 @@ const [
65
65
  TOOL, silent, GEMINI_EMBEDDING_M, INVALID_FILE, tokenSafeRatio,
66
66
  GPT_QUERY_LIMIT, CONTENT_IS_REQUIRED, OPENAI_HI_RES_SIZE, k, kT, m, minute,
67
67
  hour, gb, trimTailing, EBD, GEMINI_20_FLASH_EXP, IMAGE, JINA,
68
- JINA_DEEPSEARCH, JINA_CLIP, VERTEX,
68
+ JINA_DEEPSEARCH, JINA_CLIP, VERTEX, GEMINI_25_PRO
69
69
  ] = [
70
70
  'OpenAI', 'Gemini', 'OPENAI_TRAINING', 'Ollama', 'gpt-4o-mini',
71
71
  'gpt-4o', 'o1', 'o3-mini', 'gemini-2.0-flash',
@@ -85,6 +85,7 @@ const [
85
85
  x => 1024 * 1024 * 1024 * x, x => x.replace(/[\.\s]*$/, ''),
86
86
  { embedding: true }, 'gemini-2.0-flash-exp', 'image', 'Jina',
87
87
  'jina-deepsearch-v1', 'jina-clip-v2', 'Vertex',
88
+ 'gemini-2.5-pro-exp-03-25',
88
89
  ];
89
90
 
90
91
  const [tool, messages, text]
@@ -158,6 +159,10 @@ const MODELS = {
158
159
  ...GEMINI_RULES, contextWindow: m(2), maxOutputTokens: k(8),
159
160
  json: true,
160
161
  },
162
+ [GEMINI_25_PRO]: {
163
+ ...GEMINI_RULES, contextWindow: m(1), maxOutputTokens: k(64),
164
+ json: true, reasoning: true, tools: true,
165
+ },
161
166
  [GEMMA_3_27B]: {
162
167
  contextWindow: kT(128), maxOutputTokens: k(8),
163
168
  imageCostTokens: 256, maxImageSize: 896 * 896,
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.38",
4
+ "version": "1999.1.39",
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.38",
4
+ "version": "1999.1.39",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",