@tiens.nguyen/gonext-local-worker 1.0.86 → 1.0.87
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_agent_chat.py +4 -2
- package/package.json +1 -1
package/gonext_agent_chat.py
CHANGED
|
@@ -358,9 +358,11 @@ def run_agent_chat(cfg):
|
|
|
358
358
|
|
|
359
359
|
_log(
|
|
360
360
|
f"history: {len(history_lines)} prior turn(s), {used} chars "
|
|
361
|
-
f"(budget {HISTORY_CHAR_BUDGET})"
|
|
361
|
+
f"(budget {HISTORY_CHAR_BUDGET}) — exact turns sent to the agent below:"
|
|
362
362
|
)
|
|
363
|
-
|
|
363
|
+
for j, ln in enumerate(history_lines):
|
|
364
|
+
_log(f" history[{j}]: {ln[:240]}")
|
|
365
|
+
_log(f"current task (latest user message): {task_text.rsplit('Current task: ', 1)[-1][:240]!r}")
|
|
364
366
|
|
|
365
367
|
# Route: ask the model if this task needs HTTP tool use.
|
|
366
368
|
needs_agent = _route(task_text, agent_base_url, agent_api_key, agent_model_id)
|
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.87",
|
|
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",
|