@blockrun/franklin 3.27.1 → 3.27.2
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/agent/loop.js
CHANGED
|
@@ -1348,7 +1348,7 @@ export async function interactiveSession(config, getUserInput, onEvent, onAbortR
|
|
|
1348
1348
|
const hasTools = responseParts.some(p => p.type === 'tool_use');
|
|
1349
1349
|
const hasThinking = responseParts.some(p => p.type === 'thinking');
|
|
1350
1350
|
if (!hasText && !hasTools && !hasThinking) {
|
|
1351
|
-
const EMPTY_FALLBACK_MODELS = ['nvidia/qwen3-coder-480b', 'nvidia/
|
|
1351
|
+
const EMPTY_FALLBACK_MODELS = ['nvidia/qwen3-coder-480b', 'nvidia/llama-4-maverick', 'zai/glm-5.1'];
|
|
1352
1352
|
const nextModel = EMPTY_FALLBACK_MODELS.find(m => m !== config.model && !turnFailedModels.has(m));
|
|
1353
1353
|
if (nextModel && recoveryAttempts < 2) {
|
|
1354
1354
|
recoveryAttempts++;
|
|
@@ -11,7 +11,7 @@ import { loadLearnings, mergeLearning, saveLearnings, loadSkills, saveSkill } fr
|
|
|
11
11
|
const EXTRACTION_MODELS = [
|
|
12
12
|
'nvidia/qwen3-coder-480b', // Agent-tested free model; strong at JSON tasks
|
|
13
13
|
'nvidia/llama-4-maverick', // Agent-tested fallback
|
|
14
|
-
'nvidia/
|
|
14
|
+
'nvidia/deepseek-v4-flash', // 1M-ctx fallback (was glm-4.7 — NVIDIA NIM hung 2026-06-07)
|
|
15
15
|
];
|
|
16
16
|
const VALID_CATEGORIES = new Set([
|
|
17
17
|
'language', 'model_preference', 'tool_pattern', 'coding_style',
|
package/dist/tools/moa.js
CHANGED
|
@@ -16,7 +16,7 @@ import { ModelClient } from '../agent/llm.js';
|
|
|
16
16
|
const REFERENCE_MODELS = [
|
|
17
17
|
'nvidia/qwen3-coder-480b', // Free, agent-tested coding
|
|
18
18
|
'nvidia/llama-4-maverick', // Free, agent-tested general chat
|
|
19
|
-
'nvidia/
|
|
19
|
+
'nvidia/deepseek-v4-flash', // Free, 1M ctx (was glm-4.7 — NVIDIA NIM hung 2026-06-07)
|
|
20
20
|
'google/gemini-2.5-flash', // Fast, cheap
|
|
21
21
|
'deepseek/deepseek-chat', // Cheap, good reasoning
|
|
22
22
|
];
|
package/dist/ui/model-picker.js
CHANGED
|
@@ -72,10 +72,10 @@ export const MODEL_SHORTCUTS = {
|
|
|
72
72
|
'deepseek-v4': 'nvidia/deepseek-v4-flash',
|
|
73
73
|
'deepseek-v4-flash': 'nvidia/deepseek-v4-flash',
|
|
74
74
|
dsv4: 'nvidia/deepseek-v4-flash',
|
|
75
|
-
// V3.2
|
|
76
|
-
//
|
|
77
|
-
'deepseek-v3.2': 'nvidia/deepseek-
|
|
78
|
-
'deepseek-v3': 'nvidia/deepseek-
|
|
75
|
+
// V3.2 NVIDIA NIM hung (server redirects to V4 Flash) — point the aliases
|
|
76
|
+
// straight at the live V4 Flash so the picker doesn't hand back a dead id.
|
|
77
|
+
'deepseek-v3.2': 'nvidia/deepseek-v4-flash',
|
|
78
|
+
'deepseek-v3': 'nvidia/deepseek-v4-flash',
|
|
79
79
|
// Free (agent-tested BlockRun gateway free tier — refreshed 2026-04)
|
|
80
80
|
free: 'nvidia/qwen3-coder-480b',
|
|
81
81
|
glm4: 'nvidia/qwen3-coder-480b',
|
package/package.json
CHANGED