utilitas 1999.1.95 → 1999.1.96
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/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +4 -4
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -52,7 +52,7 @@ const [
|
|
|
52
52
|
MAX_TOOL_RECURSION, LOG, name, user, system, assistant, MODEL, JSON_OBJECT,
|
|
53
53
|
tokenSafeRatio, CONTENT_IS_REQUIRED, OPENAI_HI_RES_SIZE, k, kT, m, minute,
|
|
54
54
|
hour, gb, trimTailing, GEMINI_25_FLASH_IMAGE, IMAGE, JINA, JINA_DEEPSEARCH,
|
|
55
|
-
|
|
55
|
+
GEMINI_30_PRO, SILICONFLOW, SF_DEEPSEEK_R1, MAX_TIRE, OPENROUTER_API,
|
|
56
56
|
OPENROUTER, AUTO, TOOL,
|
|
57
57
|
] = [
|
|
58
58
|
'OpenAI', 'Gemini', 'Ollama', 'gemini-2.5-flash-preview-09-2025',
|
|
@@ -65,7 +65,7 @@ const [
|
|
|
65
65
|
x => 1024 * x, x => 1000 * x, x => 1024 * 1024 * x, x => 60 * x,
|
|
66
66
|
x => 60 * 60 * x, x => 1024 * 1024 * 1024 * x,
|
|
67
67
|
x => x.replace(/[\.\s]*$/, ''), 'gemini-2.5-flash-image', 'image',
|
|
68
|
-
'Jina', 'jina-deepsearch-v1', 'gemini-
|
|
68
|
+
'Jina', 'jina-deepsearch-v1', 'gemini-3-pro-preview', 'SiliconFlow',
|
|
69
69
|
'Pro/deepseek-ai/DeepSeek-R1', 768 * 768,
|
|
70
70
|
'https://openrouter.ai/api/v1', 'OpenRouter', 'openrouter/auto', 'tool',
|
|
71
71
|
];
|
|
@@ -136,7 +136,7 @@ const MODELS = {
|
|
|
136
136
|
...GEMINI_RULES, contextWindow: m(1), maxOutputTokens: k(64),
|
|
137
137
|
fast: true, reasoning: true, tools: true,
|
|
138
138
|
},
|
|
139
|
-
[
|
|
139
|
+
[GEMINI_30_PRO]: {
|
|
140
140
|
...GEMINI_RULES, contextWindow: m(1), maxOutputTokens: k(64),
|
|
141
141
|
reasoning: true, tools: true,
|
|
142
142
|
},
|
|
@@ -185,7 +185,7 @@ for (const n in MODELS) {
|
|
|
185
185
|
) : MODELS[n].imageCostTokens;
|
|
186
186
|
}
|
|
187
187
|
MODELS[AUTO] = { name: AUTO, defaultProvider: OPENROUTER, };
|
|
188
|
-
for (const n of [GPT_51, GPT_51_CODEX,
|
|
188
|
+
for (const n of [GPT_51, GPT_51_CODEX, GEMINI_30_PRO, GEMINI_25_FLASH]) {
|
|
189
189
|
// get the most restrictive limits
|
|
190
190
|
for (const key of [
|
|
191
191
|
'contextWindow', 'maxInputTokens', 'maxDocumentFile', 'maxAudioLength',
|
package/lib/manifest.mjs
CHANGED