@noobdemon/noob-cli 1.10.9 → 1.10.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/api.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noobdemon/noob-cli",
3
- "version": "1.10.9",
3
+ "version": "1.10.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/api.js CHANGED
@@ -126,7 +126,7 @@ export async function stream({ mode = "chat", message, model, system, conversati
126
126
  let emptyStreak = 0; // số lần liên tiếp stream rỗng (chống loop vô tận khi upstream chết hẳn)
127
127
 
128
128
  for (let attempt = 0; ; attempt++) {
129
- const r = await streamOnce({ endpoint, mode, message: prompt, model, system, conversation, effort, signal, idleMs, onStatus, onDelta, onReasoning });
129
+ const r = await streamOnce({ endpoint, mode, message: prompt, model, system, conversation, effort, signal, onStatus, onDelta, onReasoning });
130
130
  fullText = mode === "chat" ? fullText + r.text : r.text; // chat: ghép các đoạn nối tiếp; mode khác: thay thế
131
131
  if (r.reasoning) reasoning = r.reasoning;
132
132