@tiens.nguyen/gonext-local-worker 1.0.89 → 1.0.90
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 +5 -1
- package/package.json +1 -1
package/gonext_agent_chat.py
CHANGED
|
@@ -674,9 +674,13 @@ def run_agent_chat(cfg):
|
|
|
674
674
|
)
|
|
675
675
|
with contextlib.redirect_stdout(sys.stderr):
|
|
676
676
|
result = agent.run(task_with_hint)
|
|
677
|
+
# Summarize with the AGENT (coding) model that ran the tools — not the chat
|
|
678
|
+
# model — so it faithfully reports exact tool output (dates/numbers) instead
|
|
679
|
+
# of paraphrasing and corrupting it. Falls back to the chat model when no
|
|
680
|
+
# dedicated coding server is configured (coding_* default to agent_*).
|
|
677
681
|
final_text = _summarize_result(
|
|
678
682
|
task_text, str(result).strip(),
|
|
679
|
-
|
|
683
|
+
coding_base_url, agent_api_key, coding_model_id
|
|
680
684
|
)
|
|
681
685
|
_log(f"done: {len(final_text)} chars")
|
|
682
686
|
_emit({"type": "final", "text": final_text})
|
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.90",
|
|
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",
|