@tiens.nguyen/gonext-local-worker 1.0.193 → 1.0.194
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 +13 -1
- package/package.json +1 -1
package/gonext_agent_chat.py
CHANGED
|
@@ -3929,7 +3929,19 @@ def run_agent_chat(cfg):
|
|
|
3929
3929
|
# a fabricated "final" answer here instead would poison every future turn's
|
|
3930
3930
|
# prompt with raw exception text (this is exactly what caused task #35).
|
|
3931
3931
|
raise e
|
|
3932
|
-
|
|
3932
|
+
# _plain_reply has NO tool/file/HTTP access whatsoever — that's by design (it's a
|
|
3933
|
+
# bare chat completion). Without a note here, its honest "I don't have access to
|
|
3934
|
+
# your workspace/that page/etc." reads to the user as a PERMISSIONS bug, when the
|
|
3935
|
+
# real cause is that the tool-capable agent loop failed upstream (e.g. the coding
|
|
3936
|
+
# model timed out) and we silently swapped in a capability-limited fallback. Make
|
|
3937
|
+
# that swap visible so the user can tell "genuinely no access" apart from
|
|
3938
|
+
# "the real attempt never got to run" (seen live: workspace summarize request →
|
|
3939
|
+
# coding model timed out 3x on a slow/unreachable remote Ollama box → silent
|
|
3940
|
+
# fallback claimed "no access to your workspace").
|
|
3941
|
+
_emit({"type": "final", "text": (
|
|
3942
|
+
f"⚠️ I couldn't finish the full investigation ({_clip(str(e), 120)}) — here's "
|
|
3943
|
+
f"what I can say without it:\n\n{fallback}"
|
|
3944
|
+
)})
|
|
3933
3945
|
|
|
3934
3946
|
|
|
3935
3947
|
def _log(text: str):
|
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.194",
|
|
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",
|