fluxflow-cli 3.18.0 → 3.18.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/fluxflow.js +14 -1
- package/model_config.json +23 -62
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -8704,7 +8704,7 @@ ${projectContextBlock}${isMemoryEnabled ? `
|
|
|
8704
8704
|
|
|
8705
8705
|
-- CHAT FORMATTING --
|
|
8706
8706
|
- GFM Markdown ONLY
|
|
8707
|
-
-
|
|
8707
|
+
- Language: ENGLISH only
|
|
8708
8708
|
- Finish all chatting before tool calls${mode === "Flux" ? "" : "\n- Use Kaomojis HEAVILY"}
|
|
8709
8709
|
=== END SYSTEM PROMPT ===
|
|
8710
8710
|
|
|
@@ -16532,8 +16532,21 @@ ${combinedNudge}`;
|
|
|
16532
16532
|
accumulatedContext = "";
|
|
16533
16533
|
}
|
|
16534
16534
|
}
|
|
16535
|
+
const stripToolCallWrappers = (text) => {
|
|
16536
|
+
if (!text || !text.includes("[tool:")) return text;
|
|
16537
|
+
text = text.replace(/<(\w+)(?:[^>]*)>\s*(\[tool:[^\]]*\](?:[\s\S]*?))?\s*<\/\1>/gi, (match2, tagName, innerContent) => {
|
|
16538
|
+
if (innerContent && innerContent.includes("[tool:")) return innerContent.trim();
|
|
16539
|
+
return match2;
|
|
16540
|
+
});
|
|
16541
|
+
text = text.replace(/```(?:tool|yaml|function|json)?\s*\n?([\s\S]*?)\n?\```/gi, (match2, inner) => {
|
|
16542
|
+
if (inner.includes("[tool:")) return inner.trim();
|
|
16543
|
+
return match2;
|
|
16544
|
+
});
|
|
16545
|
+
return text;
|
|
16546
|
+
};
|
|
16535
16547
|
const contents = modifiedHistory.filter((msg) => (msg.role === "user" || msg.role === "agent" || msg.role === "system") && !String(msg.id).startsWith("welcome") && !msg.isMeta && !msg.isTerminalRecord && !(msg.text && msg.text.startsWith("[TERMINAL_RECORD]"))).map((msg, idx, arr) => {
|
|
16536
16548
|
let text = msg.text || "";
|
|
16549
|
+
text = stripToolCallWrappers(text);
|
|
16537
16550
|
if (msg.role === "agent") {
|
|
16538
16551
|
text = text.replace(/\[turn:\s*finish\]/gi, "").replace(/\[\[END\]\]/gi, "").trim();
|
|
16539
16552
|
text = text.replaceAll("\x1B[33m\u24D8 Request Cancelled\x1B[0m", "*User Cancelled Response Generation*");
|
package/model_config.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 0,
|
|
3
|
-
"release":
|
|
3
|
+
"release": 20260804,
|
|
4
4
|
"fallbacks": {
|
|
5
5
|
"janitor_default": "gemini-3.1-flash-lite",
|
|
6
6
|
"janitor_attempts_fallback": "gemma-4-26b-a4b-it",
|
|
7
7
|
"janitor_open_router": "google/gemma-4-26b-a4b-it:free",
|
|
8
8
|
"general_fallback": "gemini-3.1-flash-lite",
|
|
9
|
-
"deepseek_fast_fallback": "deepseek-
|
|
9
|
+
"deepseek_fast_fallback": "deepseek-v4-flash",
|
|
10
10
|
"deepseek_level_1": "deepseek-v4-flash",
|
|
11
11
|
"deepseek_level_2": "deepseek-v4-pro",
|
|
12
12
|
"mistral_janitor_fallback": "mistral-small-2506",
|
|
13
13
|
"mistral_level_1": "mistral-medium-2505",
|
|
14
14
|
"nvidia_janitor_fallback": "mistralai/mistral-nemotron",
|
|
15
|
-
"nvidia_chat_summarizer_fallback": "
|
|
15
|
+
"nvidia_chat_summarizer_fallback": "google/diffusiongemma-26b-a4b-it",
|
|
16
16
|
"google_level_1": "gemini-3-flash-preview",
|
|
17
17
|
"google_level_2": "gemini-3.5-flash",
|
|
18
18
|
"gemma_emergency": "gemma-4-31b-it",
|
|
@@ -93,15 +93,6 @@
|
|
|
93
93
|
"default_paid": "deepseek/deepseek-v4-flash",
|
|
94
94
|
"models": {
|
|
95
95
|
"Free": [
|
|
96
|
-
{
|
|
97
|
-
"cmd": "--- Auto Routed ---",
|
|
98
|
-
"desc": ""
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"cmd": "openrouter/free",
|
|
102
|
-
"multimodal": false,
|
|
103
|
-
"desc": "OpenRouter Free (Auto Router)"
|
|
104
|
-
},
|
|
105
96
|
{
|
|
106
97
|
"cmd": "--- Google Models ---",
|
|
107
98
|
"desc": ""
|
|
@@ -324,8 +315,8 @@
|
|
|
324
315
|
}
|
|
325
316
|
},
|
|
326
317
|
"NVIDIA": {
|
|
327
|
-
"default_free": "
|
|
328
|
-
"default_paid": "
|
|
318
|
+
"default_free": "stepfun-ai/step-3.7-flash",
|
|
319
|
+
"default_paid": "stepfun-ai/step-3.7-flash",
|
|
329
320
|
"models": {
|
|
330
321
|
"Free": [
|
|
331
322
|
{
|
|
@@ -369,11 +360,6 @@
|
|
|
369
360
|
"cmd": "\n--- Mistral Models ---",
|
|
370
361
|
"desc": ""
|
|
371
362
|
},
|
|
372
|
-
{
|
|
373
|
-
"cmd": "mistralai/mistral-medium-3.5-128b",
|
|
374
|
-
"multimodal": true,
|
|
375
|
-
"desc": "Multimodal"
|
|
376
|
-
},
|
|
377
363
|
{
|
|
378
364
|
"cmd": "mistralai/mistral-large-3-675b-instruct-2512",
|
|
379
365
|
"multimodal": true,
|
|
@@ -406,30 +392,11 @@
|
|
|
406
392
|
"cmd": "\n--- MiniMax Models ---",
|
|
407
393
|
"desc": ""
|
|
408
394
|
},
|
|
409
|
-
{
|
|
410
|
-
"cmd": "minimaxai/minimax-m2.7",
|
|
411
|
-
"multimodal": false,
|
|
412
|
-
"desc": "Text Only"
|
|
413
|
-
},
|
|
414
395
|
{
|
|
415
396
|
"cmd": "minimaxai/minimax-m3",
|
|
416
397
|
"multimodal": false,
|
|
417
398
|
"desc": "Text Only"
|
|
418
399
|
},
|
|
419
|
-
{
|
|
420
|
-
"cmd": "\n--- Qwen Models ---",
|
|
421
|
-
"desc": ""
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"cmd": "qwen/qwen3.5-397b-a17b",
|
|
425
|
-
"multimodal": true,
|
|
426
|
-
"desc": "Multimodal"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"cmd": "qwen/qwen3.5-122b-a10b",
|
|
430
|
-
"multimodal": true,
|
|
431
|
-
"desc": "Multimodal"
|
|
432
|
-
},
|
|
433
400
|
{
|
|
434
401
|
"cmd": "\n--- NVIDIA Models ---",
|
|
435
402
|
"desc": ""
|
|
@@ -457,6 +424,15 @@
|
|
|
457
424
|
"cmd": "meta/llama-3.2-90b-vision-instruct",
|
|
458
425
|
"multimodal": true,
|
|
459
426
|
"desc": "Multimodal"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"cmd": "\n--- Thinking Machines Models ---",
|
|
430
|
+
"desc": ""
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"cmd": "thinkingmachines/inkling",
|
|
434
|
+
"multimodal": false,
|
|
435
|
+
"desc": "Text Only [EXPERIMENTAL]"
|
|
460
436
|
}
|
|
461
437
|
],
|
|
462
438
|
"Paid": [
|
|
@@ -501,11 +477,6 @@
|
|
|
501
477
|
"cmd": "\n--- Mistral Models ---",
|
|
502
478
|
"desc": ""
|
|
503
479
|
},
|
|
504
|
-
{
|
|
505
|
-
"cmd": "mistralai/mistral-medium-3.5-128b",
|
|
506
|
-
"multimodal": true,
|
|
507
|
-
"desc": "Multimodal"
|
|
508
|
-
},
|
|
509
480
|
{
|
|
510
481
|
"cmd": "mistralai/mistral-large-3-675b-instruct-2512",
|
|
511
482
|
"multimodal": true,
|
|
@@ -538,30 +509,11 @@
|
|
|
538
509
|
"cmd": "\n--- MiniMax Models ---",
|
|
539
510
|
"desc": ""
|
|
540
511
|
},
|
|
541
|
-
{
|
|
542
|
-
"cmd": "minimaxai/minimax-m2.7",
|
|
543
|
-
"multimodal": false,
|
|
544
|
-
"desc": "Text Only"
|
|
545
|
-
},
|
|
546
512
|
{
|
|
547
513
|
"cmd": "minimaxai/minimax-m3",
|
|
548
514
|
"multimodal": false,
|
|
549
515
|
"desc": "Text Only"
|
|
550
516
|
},
|
|
551
|
-
{
|
|
552
|
-
"cmd": "\n--- Qwen Models ---",
|
|
553
|
-
"desc": ""
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"cmd": "qwen/qwen3.5-397b-a17b",
|
|
557
|
-
"multimodal": true,
|
|
558
|
-
"desc": "Multimodal"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"cmd": "qwen/qwen3.5-122b-a10b",
|
|
562
|
-
"multimodal": true,
|
|
563
|
-
"desc": "Multimodal"
|
|
564
|
-
},
|
|
565
517
|
{
|
|
566
518
|
"cmd": "\n--- NVIDIA Models ---",
|
|
567
519
|
"desc": ""
|
|
@@ -589,6 +541,15 @@
|
|
|
589
541
|
"cmd": "meta/llama-3.2-90b-vision-instruct",
|
|
590
542
|
"multimodal": true,
|
|
591
543
|
"desc": "Multimodal"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"cmd": "\n--- Thinking Machines Models ---",
|
|
547
|
+
"desc": ""
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"cmd": "thinkingmachines/inkling",
|
|
551
|
+
"multimodal": false,
|
|
552
|
+
"desc": "Text Only [EXPERIMENTAL]"
|
|
592
553
|
}
|
|
593
554
|
]
|
|
594
555
|
}
|