genai-lite 0.9.0 → 0.9.1
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/llm/config.js +22 -24
- package/package.json +1 -1
package/dist/llm/config.js
CHANGED
|
@@ -517,7 +517,7 @@ exports.KNOWN_GGUF_MODELS = [
|
|
|
517
517
|
description: "Gemma 4 E2B (2.3B effective) hybrid-thinking model",
|
|
518
518
|
capabilities: {
|
|
519
519
|
maxTokens: 8192,
|
|
520
|
-
contextWindow:
|
|
520
|
+
contextWindow: 131072,
|
|
521
521
|
supportsImages: false,
|
|
522
522
|
supportsPromptCache: false,
|
|
523
523
|
supportsSystemMessage: true,
|
|
@@ -532,7 +532,22 @@ exports.KNOWN_GGUF_MODELS = [
|
|
|
532
532
|
description: "Gemma 4 E4B (4.5B effective) hybrid-thinking model",
|
|
533
533
|
capabilities: {
|
|
534
534
|
maxTokens: 8192,
|
|
535
|
-
contextWindow:
|
|
535
|
+
contextWindow: 131072,
|
|
536
|
+
supportsImages: false,
|
|
537
|
+
supportsPromptCache: false,
|
|
538
|
+
supportsSystemMessage: true,
|
|
539
|
+
reasoning: { ...HYBRID_REASONING },
|
|
540
|
+
localReasoning: GEMMA4_LOCAL_REASONING,
|
|
541
|
+
defaultSettings: GEMMA_SAMPLING,
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
pattern: "gemma-4-12b",
|
|
546
|
+
name: "Gemma 4 12B",
|
|
547
|
+
description: "Gemma 4 12B dense hybrid-thinking model (256K context)",
|
|
548
|
+
capabilities: {
|
|
549
|
+
maxTokens: 16384,
|
|
550
|
+
contextWindow: 262144,
|
|
536
551
|
supportsImages: false,
|
|
537
552
|
supportsPromptCache: false,
|
|
538
553
|
supportsSystemMessage: true,
|
|
@@ -544,10 +559,10 @@ exports.KNOWN_GGUF_MODELS = [
|
|
|
544
559
|
{
|
|
545
560
|
pattern: "gemma-4-26b-a4b",
|
|
546
561
|
name: "Gemma 4 26B-A4B",
|
|
547
|
-
description: "Gemma 4 26B MoE (~4B active) hybrid-thinking model",
|
|
562
|
+
description: "Gemma 4 26B MoE (~4B active) hybrid-thinking model (256K context)",
|
|
548
563
|
capabilities: {
|
|
549
564
|
maxTokens: 16384,
|
|
550
|
-
contextWindow:
|
|
565
|
+
contextWindow: 262144,
|
|
551
566
|
supportsImages: false,
|
|
552
567
|
supportsPromptCache: false,
|
|
553
568
|
supportsSystemMessage: true,
|
|
@@ -577,7 +592,7 @@ exports.KNOWN_GGUF_MODELS = [
|
|
|
577
592
|
description: "Gemma 4 hybrid-thinking model (size not recognized)",
|
|
578
593
|
capabilities: {
|
|
579
594
|
maxTokens: 8192,
|
|
580
|
-
contextWindow:
|
|
595
|
+
contextWindow: 131072,
|
|
581
596
|
supportsImages: false,
|
|
582
597
|
supportsPromptCache: false,
|
|
583
598
|
supportsSystemMessage: true,
|
|
@@ -1170,31 +1185,14 @@ exports.SUPPORTED_MODELS = [
|
|
|
1170
1185
|
// Note: Unlike Gemma 3, Gemma 4 supports a native system role
|
|
1171
1186
|
// Note: Reasoning left unsupported on the cloud entries — the Gemini API exposes
|
|
1172
1187
|
// no thinking toggle for Gemma (the <|think|> system-token mechanism is not modeled)
|
|
1173
|
-
{
|
|
1174
|
-
id: "gemma-4-4b-it",
|
|
1175
|
-
name: "Gemma 4 4B",
|
|
1176
|
-
providerId: "gemini",
|
|
1177
|
-
contextWindow: 32768,
|
|
1178
|
-
inputPrice: 0.0,
|
|
1179
|
-
outputPrice: 0.0,
|
|
1180
|
-
description: "Google's Gemma 4 4B open model with system-message support (free via Gemini API)",
|
|
1181
|
-
maxTokens: 8192,
|
|
1182
|
-
supportsImages: false,
|
|
1183
|
-
supportsPromptCache: false,
|
|
1184
|
-
supportsSystemMessage: true,
|
|
1185
|
-
structuredOutput: {
|
|
1186
|
-
supported: false,
|
|
1187
|
-
notes: "Gemma models do not support JSON mode via Google's API",
|
|
1188
|
-
},
|
|
1189
|
-
},
|
|
1190
1188
|
{
|
|
1191
1189
|
id: "gemma-4-26b-a4b-it",
|
|
1192
1190
|
name: "Gemma 4 26B-A4B",
|
|
1193
1191
|
providerId: "gemini",
|
|
1194
|
-
contextWindow:
|
|
1192
|
+
contextWindow: 262144,
|
|
1195
1193
|
inputPrice: 0.0,
|
|
1196
1194
|
outputPrice: 0.0,
|
|
1197
|
-
description: "Google's Gemma 4 26B MoE (~4B active) open model (free via Gemini API)",
|
|
1195
|
+
description: "Google's Gemma 4 26B MoE (~4B active) open model with 256K context (free via Gemini API)",
|
|
1198
1196
|
maxTokens: 8192,
|
|
1199
1197
|
supportsImages: false,
|
|
1200
1198
|
supportsPromptCache: false,
|