@tiens.nguyen/gonext-local-worker 1.0.182 → 1.0.183
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 +3 -2
- package/package.json +1 -1
package/gonext_agent_chat.py
CHANGED
|
@@ -783,8 +783,9 @@ def _plain_reply(messages: list, base_url: str, api_key: str, model_id: str,
|
|
|
783
783
|
except Exception as e: # noqa: BLE001
|
|
784
784
|
last_err = e
|
|
785
785
|
if i + 1 < len(targets):
|
|
786
|
-
|
|
787
|
-
|
|
786
|
+
nb, nmid = targets[i + 1] # the model we're about to try next
|
|
787
|
+
_log(f"plain reply: {mid} @ {b} failed ({e}); "
|
|
788
|
+
f"falling back to {nmid} @ {nb}")
|
|
788
789
|
return f"[Error: {last_err}]"
|
|
789
790
|
|
|
790
791
|
|
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.183",
|
|
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",
|