Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat: refresh local LLM catalog with Gemma 4 E4B, Phi-4 Reasoning, and TranslateGemma 12B

[._.]/ Adam Eivy7de533b6c087
diff --git a/server/lib/localLlmCatalog.js b/server/lib/localLlmCatalog.js
index 977d97b96d..fb31e3b66d 100644
--- a/server/lib/localLlmCatalog.js
+++ b/server/lib/localLlmCatalog.js
@@ -283,6 +283,20 @@ export const LOCAL_LLM_CATALOG = [
ollama: 'gemma3:4b',
lmstudio: 'lmstudio-community/gemma-3-4b-it-GGUF'
},
+ {
+ key: 'gemma4-e4b',
+ name: 'Gemma 4 E4B',
+ category: 'lightweight',
+ recommendedFor: ['lightweight', 'general', 'vision', 'reasoning'],
+ params: 'E4B',
+ size: '6.6 GB',
+ family: 'gemma',
+ description: "Google's edge multimodal Gemma 4 (4.5B effective params) — on-device reasoning with thinking mode, tools, vision, and a 128K context window.",
+ capabilities: ['chat', 'reasoning', 'tools', 'vision'],
+ context: 131072,
+ ollama: 'gemma4:e4b',
+ lmstudio: 'lmstudio-community/gemma-4-E4B-it-GGUF'
+ },
// ── General-purpose laptop tier (16–32GB) ──
{
key: 'lfm2.5-8b-a1b',
@@ -621,6 +635,20 @@ export const LOCAL_LLM_CATALOG = [
ollama: 'phi4',
lmstudio: 'lmstudio-community/phi-4-GGUF'
},
+ {
+ key: 'phi-4-reasoning-14b',
+ name: 'Phi-4 Reasoning 14B',
+ category: 'reasoning',
+ recommendedFor: ['reasoning'],
+ params: '14B',
+ size: '11 GB',
+ family: 'phi',
+ description: "Microsoft's 14B open-weight reasoning model — specialized chain-of-thought thinking for complex math, logic, and multi-step reasoning.",
+ capabilities: ['chat', 'reasoning'],
+ context: 32768,
+ ollama: 'phi4-reasoning:14b',
+ lmstudio: 'lmstudio-community/Phi-4-reasoning-GGUF'
+ },
{
key: 'gemma4-31b',
name: 'Gemma 4 31B',
@@ -974,6 +1002,20 @@ export const LOCAL_LLM_CATALOG = [
ollama: 'aya-expanse:32b',
lmstudio: 'lmstudio-community/Aya-Expanse-32B-GGUF'
},
+ {
+ key: 'translategemma-12b',
+ name: 'TranslateGemma 12B',
+ category: 'multilingual',
+ recommendedFor: ['multilingual', 'chat'],
+ params: '12B',
+ size: '8.1 GB',
+ family: 'gemma',
+ description: "Google's open translation model built on Gemma 3 — high-fidelity translation across 55 languages with vision and a 128K context window.",
+ capabilities: ['chat', 'multilingual', 'vision'],
+ context: 131072,
+ ollama: 'translategemma:12b',
+ lmstudio: 'lmstudio-community/TranslateGemma-12B-IT-GGUF'
+ },
// ── Text embeddings ──
// PortOS's memory/recall pipeline expects 768-dimension vectors
// (EMBEDDING_DIM in server/services/embeddings.js) — every entry below
diff --git a/server/lib/localLlmCatalog.test.js b/server/lib/localLlmCatalog.test.js
index 2787f2b6fa..44bf32ce27 100644
--- a/server/lib/localLlmCatalog.test.js
+++ b/server/lib/localLlmCatalog.test.js
@@ -210,6 +210,9 @@ describe('localLlmCatalog', () => {
expect(ollama.find((m) => m.key === 'deepseek-r1-70b')?.id).toBe('deepseek-r1:70b');
expect(ollama.find((m) => m.key === 'llama4-scout-17b')?.id).toBe('llama4:scout');
expect(ollama.find((m) => m.key === 'phi-4-14b')?.id).toBe('phi4');
+ expect(ollama.find((m) => m.key === 'phi-4-reasoning-14b')?.id).toBe('phi4-reasoning:14b');
+ expect(ollama.find((m) => m.key === 'gemma4-e4b')?.id).toBe('gemma4:e4b');
+ expect(ollama.find((m) => m.key === 'translategemma-12b')?.id).toBe('translategemma:12b');
expect(ollama.find((m) => m.key === 'aya-expanse-8b')?.id).toBe('aya-expanse:8b');
});
});
@@ -233,6 +236,10 @@ describe('localLlmCatalog', () => {
.toEqual({ targetId: 'lmstudio-community/gemma-4-12B-it-GGUF', exact: true });
expect(mapModelToBackend('lmstudio', 'lmstudio-community/gemma-4-12B-it-GGUF', 'ollama'))
.toEqual({ targetId: 'gemma4:12b', exact: true });
+ expect(mapModelToBackend('ollama', 'gemma4:e4b', 'lmstudio'))
+ .toEqual({ targetId: 'lmstudio-community/gemma-4-E4B-it-GGUF', exact: true });
+ expect(mapModelToBackend('ollama', 'translategemma:12b', 'lmstudio'))
+ .toEqual({ targetId: 'lmstudio-community/TranslateGemma-12B-IT-GGUF', exact: true });
});
it('still maps models retired from the suggested-install catalog', () => {