utilitas 2001.1.80 → 2001.1.81
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/README.md +1 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +6 -6
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -51,7 +51,7 @@ const [
|
|
|
51
51
|
user, system, assistant, JSON_OBJECT, PROMPT_IS_REQUIRED, k, trimTailing,
|
|
52
52
|
trimBeginning, GEMINI_30_PRO_IMAGE, IMAGE, JINA, JINA_DEEPSEARCH,
|
|
53
53
|
SILICONFLOW, SF_DEEPSEEK_32, OPENROUTER_API, OPENROUTER, AUTO, TOOL, ONLINE,
|
|
54
|
-
GEMINI_30_PRO,
|
|
54
|
+
GEMINI_30_PRO, GEMINI_30_FLASH, IMAGEN_4_ULTRA, VEO_31, IMAGEN_4_UPSCALE,
|
|
55
55
|
ERROR_GENERATING, GEMINI_25_FLASH_TTS, GEMINI_25_PRO_TTS, wav,
|
|
56
56
|
GPT_4O_MIMI_TTS, GPT_4O_TRANSCRIBE, INVALID_AUDIO, OGG_EXT, ELLIPSIS,
|
|
57
57
|
TOP_LIMIT, ATTACHMENT, PROCESSING, CURSOR, LN1, LN2, TOP, DEEPSEEK
|
|
@@ -67,7 +67,7 @@ const [
|
|
|
67
67
|
'Jina', 'jina-deepsearch-v1', 'SiliconFlow',
|
|
68
68
|
'deepseek-ai/DeepSeek-V3.2-exp', 'https://openrouter.ai/api/v1',
|
|
69
69
|
'OpenRouter', 'openrouter/auto', 'tool', ':online',
|
|
70
|
-
'gemini-3-pro-preview', 'gemini-
|
|
70
|
+
'gemini-3-pro-preview', 'gemini-3-flash-preview',
|
|
71
71
|
'imagen-4.0-ultra-generate-001', 'veo-3.1-generate-preview',
|
|
72
72
|
'imagen-4.0-upscale-preview', 'Error generating content.',
|
|
73
73
|
'gemini-2.5-flash-preview-tts', 'gemini-2.5-pro-tts', 'wav',
|
|
@@ -136,7 +136,7 @@ const DEEPSEEK_32_RULES = {
|
|
|
136
136
|
// https://openrouter.ai/docs/features/multimodal/audio (only support input audio)
|
|
137
137
|
const MODELS = {
|
|
138
138
|
// fast and balanced models
|
|
139
|
-
[
|
|
139
|
+
[GEMINI_30_FLASH]: { // https://gemini.google.com/app/c680748b3307790b
|
|
140
140
|
...GEMINI_RULES, fast: true, json: false, // issue with json output via OpenRouter
|
|
141
141
|
},
|
|
142
142
|
// strong and fast
|
|
@@ -222,7 +222,7 @@ for (const n in MODELS) {
|
|
|
222
222
|
}
|
|
223
223
|
// Auto model have some issues with tools and reasoning, so we disable them here
|
|
224
224
|
// MODELS[AUTO] = { name: AUTO, defaultProvider: OPENROUTER, };
|
|
225
|
-
// for (const n of [GPT_52, GPT_51_CODEX, GEMINI_30_PRO,
|
|
225
|
+
// for (const n of [GPT_52, GPT_51_CODEX, GEMINI_30_PRO, GEMINI_30_FLASH]) {
|
|
226
226
|
// // get the most restrictive limits
|
|
227
227
|
// for (const key of [
|
|
228
228
|
// 'contextWindow', 'maxInputTokens', 'maxOutputTokens',
|
|
@@ -259,7 +259,7 @@ for (const n in MODELS) {
|
|
|
259
259
|
|
|
260
260
|
// Default models for each provider
|
|
261
261
|
const DEFAULT_MODELS = {
|
|
262
|
-
[OPENROUTER]:
|
|
262
|
+
[OPENROUTER]: GEMINI_30_FLASH,
|
|
263
263
|
[SILICONFLOW]: SF_DEEPSEEK_32,
|
|
264
264
|
[JINA]: JINA_DEEPSEARCH,
|
|
265
265
|
[OLLAMA]: GEMMA_3_27B,
|
|
@@ -1503,7 +1503,7 @@ export {
|
|
|
1503
1503
|
FEATURE_ICONS,
|
|
1504
1504
|
FUNCTION,
|
|
1505
1505
|
GEMINI_25_FLASH_TTS,
|
|
1506
|
-
|
|
1506
|
+
GEMINI_30_FLASH,
|
|
1507
1507
|
GEMINI_25_PRO_TTS,
|
|
1508
1508
|
GEMINI_30_PRO_IMAGE,
|
|
1509
1509
|
GPT_5_IMAGE,
|
package/lib/manifest.mjs
CHANGED