@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.
@@ -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/glm-4.7', 'zai/glm-5.1'];
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/glm-4.7', // Chat fallback; not default for tool-heavy paths
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/glm-4.7', // Free chat fallback
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
  ];
@@ -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 free fallback for users who specifically want the older Terminus
76
- // checkpoint instead of the V4 Flash default.
77
- 'deepseek-v3.2': 'nvidia/deepseek-v3.2',
78
- 'deepseek-v3': 'nvidia/deepseek-v3.2',
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/franklin",
3
- "version": "3.27.1",
3
+ "version": "3.27.2",
4
4
  "description": "Franklin Agent — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.",
5
5
  "type": "module",
6
6
  "exports": {