@tiens.nguyen/gonext-local-worker 1.0.335 → 1.0.337
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/gonext-repl.mjs +3 -3
- package/package.json +1 -1
package/gonext-repl.mjs
CHANGED
|
@@ -950,9 +950,9 @@ async function chooseModel() {
|
|
|
950
950
|
);
|
|
951
951
|
// Task #125: the GLOBAL lifetime total is per-backend, so re-fetch it for the newly
|
|
952
952
|
// selected backend NOW — otherwise the footer would keep showing the previous backend's
|
|
953
|
-
// total until the next turn.
|
|
954
|
-
//
|
|
955
|
-
|
|
953
|
+
// total until the next turn. (The live per-turn tail, latestOutputTokens, is local to
|
|
954
|
+
// runAgentTurn and is already 0 here between turns — /model can't run mid-turn — so there
|
|
955
|
+
// is nothing to zero, and it isn't in scope from here.)
|
|
956
956
|
const t = await fetchOutputTokenTotals(resolve(process.cwd()));
|
|
957
957
|
{ const g = pickGlobalTotal(t); if (g !== null) globalOutputTokens = g; }
|
|
958
958
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiens.nguyen/gonext-local-worker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.337",
|
|
4
4
|
"description": "Polls GoNext cloud API for async local LLM jobs and runs them against Ollama/OpenAI-compatible servers on this Mac",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|