@tiens.nguyen/gonext-local-worker 1.0.57 → 1.0.58
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-local-worker.mjs +2 -2
- package/package.json +1 -1
package/gonext-local-worker.mjs
CHANGED
|
@@ -1221,7 +1221,7 @@ async function runAgentChatJob(job) {
|
|
|
1221
1221
|
);
|
|
1222
1222
|
// Send an immediate heartbeat so the web 60-180s no-progress timer doesn't
|
|
1223
1223
|
// fire while the local model is loading/generating its first reasoning step.
|
|
1224
|
-
enqueueText("<think>Agent starting…\n");
|
|
1224
|
+
enqueueText("<think>Agent starting…\n\n");
|
|
1225
1225
|
flushTail = flushTail.then(() => flushChunks()).catch((err) => {
|
|
1226
1226
|
console.error("[gonext-worker] agent_chat heartbeat flush error:", err);
|
|
1227
1227
|
});
|
|
@@ -1252,7 +1252,7 @@ async function runAgentChatJob(job) {
|
|
|
1252
1252
|
inThink = true;
|
|
1253
1253
|
enqueueText("<think>");
|
|
1254
1254
|
}
|
|
1255
|
-
enqueueText(event.text + "\n");
|
|
1255
|
+
enqueueText(event.text + "\n\n");
|
|
1256
1256
|
} else if (event.type === "final" && typeof event.text === "string") {
|
|
1257
1257
|
if (inThink) {
|
|
1258
1258
|
inThink = false;
|
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.58",
|
|
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",
|